Skip to content

Commit 9449eee

Browse files
Ayeshgrogy
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 ea45b1e commit 9449eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Manager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Manager
3333
* @return Result
3434
* @throws ParallelLintException
3535
*/
36-
public function run(Settings $settings = null)
36+
public function run(?Settings $settings = null)
3737
{
3838
$settings = $settings ?: new Settings();
3939
$output = $this->output ?: $this->getDefaultOutput($settings);

0 commit comments

Comments
 (0)