forked from GNUsocial/gnu-social
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace Plugin\ImageEncoder\Exception;
|
||||
|
||||
use App\Util\Exception\ClientException;
|
||||
@@ -7,13 +9,8 @@ use Throwable;
|
||||
|
||||
class UnsupportedFileTypeException extends ClientException
|
||||
{
|
||||
/**
|
||||
* @param string $message
|
||||
* @param int $code
|
||||
* @param null|Throwable $previous
|
||||
*/
|
||||
public function __construct(string $message = '', int $code = 418, Throwable $previous = null)
|
||||
public function __construct(string $message = '', int $code = 418, ?Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user