From c8dcff2ee958ff1347e0ef1fef3cae4d735933d5 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Fri, 6 Feb 2026 18:14:01 -0500 Subject: [PATCH] Fix phpstan --- app/Extensions/Filesystem/S3Filesystem.php | 2 ++ app/Services/Activity/ActivityLogService.php | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Extensions/Filesystem/S3Filesystem.php b/app/Extensions/Filesystem/S3Filesystem.php index 3db45bb26..2a3b61a39 100644 --- a/app/Extensions/Filesystem/S3Filesystem.php +++ b/app/Extensions/Filesystem/S3Filesystem.php @@ -44,6 +44,8 @@ class S3Filesystem extends AwsS3V3Adapter /** * Execute an S3 command using a presigned URL for maximum compatibility * with S3-compatible providers. + * + * @return Result> */ public function executeS3Command(CommandInterface $command): Result { diff --git a/app/Services/Activity/ActivityLogService.php b/app/Services/Activity/ActivityLogService.php index 9cf8e2d1e..2a06427fc 100644 --- a/app/Services/Activity/ActivityLogService.php +++ b/app/Services/Activity/ActivityLogService.php @@ -10,7 +10,6 @@ use Filament\Facades\Filament; use Illuminate\Contracts\Auth\Factory as AuthFactory; use Illuminate\Database\ConnectionInterface; use Illuminate\Database\Eloquent\Model; -use Illuminate\Support\Arr; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Request; use Throwable; @@ -71,7 +70,7 @@ class ActivityLogService */ public function subject(...$subjects): self { - foreach (Arr::wrap($subjects) as $subject) { + foreach ($subjects as $subject) { if (is_null($subject)) { continue; }