Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
d440b9a63f
commit
e659a03140
9 changed files with 9 additions and 9 deletions
|
@ -28,7 +28,7 @@ use Throwable;
|
|||
*/
|
||||
class AddonInvalidConfigFileException extends \RuntimeException
|
||||
{
|
||||
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
||||
public function __construct($message = '', $code = 0, Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, 500, $previous);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Friendica\Core\Hooks\Exceptions;
|
|||
|
||||
class HookConfigException extends \RuntimeException
|
||||
{
|
||||
public function __construct($message = "", \Throwable $previous = null)
|
||||
public function __construct($message = '', \Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, 500, $previous);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ use Throwable;
|
|||
*/
|
||||
class LogLevelException extends \InvalidArgumentException
|
||||
{
|
||||
public function __construct($message = "", Throwable $previous = null)
|
||||
public function __construct($message = '', Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, 500, $previous);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ use Throwable;
|
|||
*/
|
||||
class LoggerArgumentException extends \InvalidArgumentException
|
||||
{
|
||||
public function __construct($message = "", Throwable $previous = null)
|
||||
public function __construct($message = '', Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, 500, $previous);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ use Throwable;
|
|||
*/
|
||||
class LoggerException extends \Exception
|
||||
{
|
||||
public function __construct($message = "", Throwable $previous = null)
|
||||
public function __construct($message = '', Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, 500, $previous);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ use Throwable;
|
|||
*/
|
||||
class LoggerUnusableException extends \RuntimeException
|
||||
{
|
||||
public function __construct($message = "", Throwable $previous = null)
|
||||
public function __construct($message = '', Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, 500, $previous);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue