Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎src/Manager.php‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /