Skip to content

Commit e3937e6

Browse files
committed
MRW-3069 Update project to PHP 8.4
1 parent d3f810a commit e3937e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Swivl/Sniffs/Commenting/DoctrineEntitySniff.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1143,9 +1143,9 @@ protected function validateMethodDeclaration(
11431143
string $methodType,
11441144
string $methodName,
11451145
bool $methodRequired,
1146-
string $returnType = null,
1147-
string $argumentName = null,
1148-
string $argumentType = null,
1146+
?string $returnType = null,
1147+
?string $argumentName = null,
1148+
?string $argumentType = null,
11491149
bool $argumentNullable = false
11501150
): void
11511151
{

0 commit comments

Comments
 (0)