Skip to content

Commit f55ae42

Browse files
committed
Fix the name of the initializer parameter of ReflectionClass::resetAsLazyGhost()
1 parent 382be92 commit f55ae42

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ext/reflection/php_reflection.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public function newLazyGhost(callable $initializer, int $options = 0): object {}
380380

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

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

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

ext/reflection/php_reflection_arginfo.h

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)