Skip to content

Commit 3747991

Browse files
committed
PhpMethodReflectionFactory - move $acceptsNamedArguments for backward compatibility
1 parent 3682451 commit 3747991

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/Reflection/Php/PhpClassReflectionExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -798,12 +798,12 @@ public function createUserlandMethodReflection(ClassReflection $fileDeclaringCla
798798
$isFinal,
799799
$isPure,
800800
$asserts,
801-
$acceptsNamedArguments,
802801
$selfOutType,
803802
$phpDocComment,
804803
$phpDocParameterOutTypes,
805804
$immediatelyInvokedCallableParameters,
806805
$closureThisParameters,
806+
$acceptsNamedArguments,
807807
);
808808
}
809809

Diff for: src/Reflection/Php/PhpMethodReflectionFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public function create(
3131
bool $isFinal,
3232
?bool $isPure,
3333
Assertions $asserts,
34-
bool $acceptsNamedArguments,
3534
?Type $selfOutType,
3635
?string $phpDocComment,
3736
array $phpDocParameterOutTypes,
3837
array $immediatelyInvokedCallableParameters = [],
3938
array $phpDocClosureThisTypeParameters = [],
39+
bool $acceptsNamedArguments = true,
4040
): PhpMethodReflection;
4141

4242
}

0 commit comments

Comments
 (0)