We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee21994 commit 4797812Copy full SHA for 4797812
src/Http/Resources/Post/PostNavigateResource.php
@@ -26,7 +26,7 @@ public function toArray($request): array
26
}
27
28
// Cast to proper array type for PHPStan
29
- /** @var array<string, \CSlant\Blog\Core\Models\Post|null> $navigationData */
+ /** @var array<string, null|\CSlant\Blog\Core\Models\Post> $navigationData */
30
$navigationData = $this->resource;
31
32
$previous = array_key_exists('previous', $navigationData) ? $navigationData['previous'] : null;
0 commit comments