Skip to content

Commit e5a3057

Browse files
authored
[1.x] Adds documentation about readonly caveat (#70)
* Adds caveat * Update README.md
1 parent c19f8f3 commit e5a3057

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ echo $closure(); // james;
5151

5252
### Caveats
5353

54-
1. Creating **anonymous classes** within closures is not supported.
55-
2. Using attributes within closures is not supported.
56-
3. Serializing closures on REPL environments such as Laravel Tinker is not supported.
54+
* Anonymous classes cannot be created within closures.
55+
* Attributes cannot be used within closures.
56+
* Serializing closures on REPL environments like Laravel Tinker is not supported.
57+
* Serializing closures that reference objects with readonly properties is not supported.
5758

5859
## Contributing
5960

0 commit comments

Comments
 (0)