Skip to content

Commit

Permalink
Exception::__construct(): Passing null to parameter #1 ($message) of …
Browse files Browse the repository at this point in the history
…type string is deprecated
  • Loading branch information
escopecz committed Jun 9, 2023
1 parent 342b832 commit 32b07ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bundles/CoreBundle/Exception/FileNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class FileNotFoundException extends \Exception
{
public function __construct($message = 'File not found.', $code = 0, \Exception $previous = null)
public function __construct(string $message = 'File not found.', int $code = 0, \Exception $previous = null)
{
parent::__construct($message, $code, $previous);
}
Expand Down

0 comments on commit 32b07ce

Please sign in to comment.