Skip to content

Commit a087442

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix the name of the initializer parameter of ReflectionClass::resetAsLazyGhost()
2 parents b106fea + a8151fc commit a087442

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

ext/reflection/php_reflection.stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function newLazyGhost(callable $initializer, int $options = 0): object {}
374374

375375
public function newLazyProxy(callable $factory, int $options = 0): object {}
376376

377-
public function resetAsLazyGhost(object $object, callable $factory, int $options = 0): void {}
377+
public function resetAsLazyGhost(object $object, callable $initializer, int $options = 0): void {}
378378

379379
public function resetAsLazyProxy(object $object, callable $factory, int $options = 0): void {}
380380

ext/reflection/php_reflection_arginfo.h

+7-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/reflection/tests/ReflectionClass_toString_001.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Class [ <internal:Reflection> class ReflectionClass implements Stringable, Refle
354354

355355
- Parameters [3] {
356356
Parameter #0 [ <required> object $object ]
357-
Parameter #1 [ <required> callable $factory ]
357+
Parameter #1 [ <required> callable $initializer ]
358358
Parameter #2 [ <optional> int $options = 0 ]
359359
}
360360
- Return [ void ]

0 commit comments

Comments
 (0)