We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bfe2d3 commit 6445bb6Copy full SHA for 6445bb6
README.md
@@ -3,7 +3,7 @@
3
Accessing internals using this package makes it difficult for your IDE/SCA tools to track types properly.
4
If you need to access internals, consider the following alternative:
5
```php
6
-$bar = \Closure::bind(static fn ($object): string => $object->bar, null, Foo::class)($object);
+$bar = \Closure::bind(static fn (Foo $object): string => $object->bar, null, Foo::class)($object);
7
```
8
9
# AccessibleObject
0 commit comments