gurgentil / laravel-eloquent-sequencer

A package that allows you to create and manage sequences on Eloquent models.
MIT License
156 stars 13 forks source link

fix: avoid false true when checking if propertyKeys exists #18

Closed riesjart closed 3 years ago

riesjart commented 3 years ago

Casting property_exists(static::class, 'sequenceableKeys') to an array ([true] or [false]) is causing the conditional to always be truthy.