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 2d913d1 commit e9ae754Copy full SHA for e9ae754
src/Http/Actions/Post/PostGetNavigateAction.php
@@ -37,6 +37,7 @@ public function __construct(PostService $postService)
37
{
38
$this->postService = $postService;
39
}
40
+
41
/**
42
* @param string $slug
43
*
@@ -111,8 +112,6 @@ public function __invoke(string $slug): BaseHttpResponse|JsonResponse|JsonResour
111
112
->toApiResponse();
113
114
-
115
116
117
* @return BaseHttpResponse
118
*/
src/Services/PostService.php
@@ -45,7 +45,7 @@ public function getCustomFilters(array $filters): LengthAwarePaginator
45
* Find post by slug
46
47
48
- * @return Post|null
+ * @return null|Post
49
50
public function findBySlug(string $slug): ?Post
51
0 commit comments