Commit 9aadbfb
Fix serializable_classes handling when config is false
When serializable_classes is false (Laravel 13 default), the guard
treated it the same as null/true and skipped registration. But false
means "restrict to no classes", so unserialize() blocked all Stache
objects. Now only null and true (both unrestricted) are skipped.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a369347 commit 9aadbfb
File tree
2 files changed
+4
-4
lines changed- src/Providers
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
724 | | - | |
| 724 | + | |
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
0 commit comments