From 39a7a045af5f08b362dbd6134d1813564935fee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:42:33 +0200 Subject: [PATCH] chore: happify phpstan --- src/Client/DocumentsClientDecorator.php | 1 - src/Client/IncidentsClientDecorator.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Client/DocumentsClientDecorator.php b/src/Client/DocumentsClientDecorator.php index eed4113..dcd67fd 100644 --- a/src/Client/DocumentsClientDecorator.php +++ b/src/Client/DocumentsClientDecorator.php @@ -47,7 +47,6 @@ private function buildMultipart(Document $document): array $multipartKeywordFields = $this->buildFieldsForMultipart('keyword', $document->getKeywordFields()); $multipartFiles = $this->buildFilesForMultipart($document->getFiles()); - // @phpstan-ignore-next-line Use value object over return of values return [...$multipartIndexFields, ...$multipartKeywordFields, ...$multipartFiles]; } diff --git a/src/Client/IncidentsClientDecorator.php b/src/Client/IncidentsClientDecorator.php index ae6cead..9b2adda 100644 --- a/src/Client/IncidentsClientDecorator.php +++ b/src/Client/IncidentsClientDecorator.php @@ -91,7 +91,6 @@ private function buildMultipart(Incident $incident): array $incident->getSubTables(), ); - // @phpstan-ignore-next-line Use value object over return of values return [...$multipart, ...$multipartProcessTableFields, ...$multipartSubTables]; }