i did not fall asleep early enough last night to be awake this early today.

#ItsGoingToBeALongDay

That moment when you're migrating to a new version of a framework and you realize that using non-strict conditionals is now biting you in the *ss....

Specific type of result from framework went from `array` to `Collection`-object, and `if (!$collection)` return false for any instance, so also empty collections... Ugh... 😞

Maybe there is a nice way to detect these instances, instead of finding them only in production? πŸ€”

#itsGoingToBeALongDay #php #devLife