Skip to content

Commit

Permalink
refactor: Fix docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Feb 17, 2024
1 parent f01c22c commit e06edce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public static function generateSitemap(array $params)
);
foreach ($blockFields as $blockField) {
$blocks = $element[$blockField]->all();
/** @var MatrixBlock[]|NeoBlock[]|SuperTableBlock[] $blocks */
/** @var MatrixBlock[]|NeoBlock[]|SuperTableBlock[]|object[] $blocks */
foreach ($blocks as $block) {
$assetFields = [];
if ($block instanceof MatrixBlock) {
Expand Down Expand Up @@ -365,7 +365,7 @@ public static function generateSitemap(array $params)
);
foreach ($blockFields as $blockField) {
$blocks = $element[$blockField]->all();
/** @var MatrixBlock[]|NeoBlock[]|SuperTableBlock[] $blocks */
/** @var MatrixBlock[]|NeoBlock[]|SuperTableBlock[]|object[] $blocks */
foreach ($blocks as $block) {
$assetFields = [];
if ($block instanceof MatrixBlock) {
Expand Down

0 comments on commit e06edce

Please sign in to comment.