[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types

This commit is contained in:
2021-10-10 09:26:18 +01:00
committed by Diogo Peralta Cordeiro
parent 8ef2d3339f
commit 9109c61af5
327 changed files with 2246 additions and 2616 deletions

View File

@@ -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);
}
}
}