mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
Fix phpstan
This commit is contained in:
@@ -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<array<string, mixed>>
|
||||
*/
|
||||
public function executeS3Command(CommandInterface $command): Result
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user