diff --git a/src/Entity/Video.php b/src/Entity/Video.php index f14b81e..c7d8126 100644 --- a/src/Entity/Video.php +++ b/src/Entity/Video.php @@ -456,7 +456,7 @@ public function getStretchedRatio(): ?float */ public function getCategories(): array { - return $this->get('categories'); + return $this->get('categories', []); } /**