diff --git a/src/services/Assets.php b/src/services/Assets.php index 8357229..9e4c111 100644 --- a/src/services/Assets.php +++ b/src/services/Assets.php @@ -148,6 +148,7 @@ protected function updateBlockTypeContent(string $fieldType, string $value, Cant // Block types have the same methods as Matrix /* @var Matrix $blockField */ $contentTableName = $blockField->contentTable; + /* @var Matrix $blockField */ $fields = $blockField->getBlockTypeFields(); // Filter out any non-CantoDamAsset fields $fields = (new Collection($fields))->filter(fn($value) => $value instanceof CantoDamAsset)->toArray();