Skip to content

Commit

Permalink
[PHP 8.4] Fixes for implicit nullability deprecation
Browse files Browse the repository at this point in the history
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
  • Loading branch information
Ayesh authored and jrfnl committed Mar 27, 2024
1 parent b90851f commit 4d65d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Manager
* @throws Exception
* @throws \Exception
*/
public function run(Settings $settings = null)
public function run(?Settings $settings = null)
{
$settings = $settings ?: new Settings;
$output = $this->output ?: $this->getDefaultOutput($settings);
Expand Down

0 comments on commit 4d65d62

Please sign in to comment.