소스 검색

fix phpstan errors

Olivier Massot 10 달 전
부모
커밋
e8658b2026
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/Service/ServiceIterator/StorageIterator.php
  2. 1 0
      src/Service/Typo3/Typo3Service.php

+ 3 - 0
src/Service/ServiceIterator/StorageIterator.php

@@ -22,6 +22,9 @@ class StorageIterator
     ) {
     }
 
+    /**
+     * @return iterable<FileStorageInterface>
+     */
     public function getStorages(): iterable
     {
         return $this->storageServices;

+ 1 - 0
src/Service/Typo3/Typo3Service.php

@@ -22,6 +22,7 @@ class Typo3Service
      * Send a command to the given route of the Typo3 API.
      *
      * @param array<mixed> $parameters
+     * @param array<mixed> $headers
      *
      * @throws TransportExceptionInterface
      */