diff --git a/framework/core/src/Notification/Notification.php b/framework/core/src/Notification/Notification.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Notification/Notification.php
+++ b/framework/core/src/Notification/Notification.php
@@ -102,7 +102,7 @@ class Notification extends AbstractModel
      */
     public function getSubjectModelAttribute()
     {
-        return array_get(static::$subjectModels, $this->type);
+        return $this->type ? array_get(static::$subjectModels, $this->type) : null;
     }
 
     /**
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.