[5.0] Use pseudo boolean notation

Now available with https://github.com/laravel/framework/pull/6667