Skip to content

Commit 6445bb6

Browse files
authored
Update README.md
1 parent 7bfe2d3 commit 6445bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Accessing internals using this package makes it difficult for your IDE/SCA tools to track types properly.
44
If you need to access internals, consider the following alternative:
55
```php
6-
$bar = \Closure::bind(static fn ($object): string => $object->bar, null, Foo::class)($object);
6+
$bar = \Closure::bind(static fn (Foo $object): string => $object->bar, null, Foo::class)($object);
77
```
88

99
# AccessibleObject

0 commit comments

Comments
 (0)