scramble
scramble copied to clipboard
[Bug]: In Resource (is_true => 1 > 2) is assumed to be string instead of bool
What happened?
'is_true' => 6 > 9 Is reported as string, I expect it to be reported as boolean
How to reproduce the bug
https://github.com/dedoc/demo-scramble/blob/main/app/Http/Resources/BookingResource.php#L25 Add line 'is_true' => 6 > 9
Package Version
dedoc/scramble 0.12.8
PHP Version
PHP 8.3.20 (cli) (built: Apr 10 2025 21:33:24) (NTS)
Laravel Version
Laravel Framework 11.42.1
Which operating systems does with happen with?
Linux
Notes
No response
@benascbr PR is welcome 🤗
🦾
TBH I find it very hard navigate code. Maybe codebase is too big for me to comprehend.