Skip to content

Commit 4797812

Browse files
tanhongitgithub-actions[bot]
authored andcommitted
Fix styling
1 parent ee21994 commit 4797812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Resources/Post/PostNavigateResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function toArray($request): array
2626
}
2727

2828
// Cast to proper array type for PHPStan
29-
/** @var array<string, \CSlant\Blog\Core\Models\Post|null> $navigationData */
29+
/** @var array<string, null|\CSlant\Blog\Core\Models\Post> $navigationData */
3030
$navigationData = $this->resource;
3131

3232
$previous = array_key_exists('previous', $navigationData) ? $navigationData['previous'] : null;

0 commit comments

Comments
 (0)