From 7bde84b23c841bd6386eae49d9211002fc37d5d8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 27 Aug 2026 11:26:25 +0930 Subject: [PATCH] fix: remove call to non-existent PollService::storyPoll() The storyPoll() method was never implemented on PollService. Replace with null to fix phpstan staticMethod.notFound. Note: Passport::personalAccessClientId() is also flagged but deferred to a separate PAT refactoring effort. --- app/Services/StoryService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/StoryService.php b/app/Services/StoryService.php index 774847963..08bda2e67 100644 --- a/app/Services/StoryService.php +++ b/app/Services/StoryService.php @@ -61,7 +61,7 @@ class StoryService 'media' => url(Storage::url($s->path)), 'can_reply' => (bool) $s->can_reply, 'can_react' => (bool) $s->can_react, - 'poll' => $s->type == 'poll' ? PollService::storyPoll($s->id) : null, + 'poll' => null, ]; }) ->toArray();