8000 Fix PHP 8.4 deprecation. (#6811) · Codeception/Codeception@092fa32 · GitHub
[go: up one dir, main page]

Skip to content

Commit 092fa32

Browse files
authored
Fix PHP 8.4 deprecation. (#6811)
1 parent 3e57474 commit 092fa32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/Di.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function injectDependencies(object $object, string $injectMethodName = se
120120
}
121121
}
122122

123-
protected function prepareArgs(ReflectionMethod $method = null, array $defaults = []): array
123+
protected function prepareArgs(?ReflectionMethod $method = null, array $defaults = []): array
124124
{
125125
$args = [];
126126

0 commit comments

Comments
 (0)
0