Fix notifications crash
Fix notifications crash

When loading notifications, $this->type was null and thus array_get
was returning an array instead of null. I assume this issue was
introduced in a Laravel version upgrade? Anyway, this fixes it.

flarum/core,datitisev/core,flarum/core,datitisev/core,datitisev/core,flarum/core,malayladu/core,malayladu/core,malayladu/core,datitisev/core,malayladu/core