Skip to content

Commit 4d65d62

Browse files
Ayeshjrfnl
authored andcommitted
[PHP 8.4] Fixes for implicit nullability deprecation
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)
1 parent b90851f commit 4d65d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Manager
1717
* @throws Exception
1818
* @throws \Exception
1919
*/
20-
public function run(Settings $settings = null)
20+
public function run(?Settings $settings = null)
2121
{
2222
$settings = $settings ?: new Settings;
2323
$output = $this->output ?: $this->getDefaultOutput($settings);

0 commit comments

Comments
 (0)