diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 7884e71212..8435e9abb6 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -19030,11 +19030,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Token/Gateway/TokenType/Gateway.php - - - message: "#^Parameter \\#1 \\$typeId of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Token\\\\Gateway\\\\Token\\\\Gateway\\:\\:deleteExpired\\(\\) expects int\\|null, Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Token\\\\TokenType\\|null given\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Token/Handler.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Token\\\\Mapper\\:\\:mapToken\\(\\) has parameter \\$tokenRow with no value type specified in iterable type array\\.$#" count: 1 diff --git a/src/bundle/Core/Imagine/BinaryLoader.php b/src/bundle/Core/Imagine/BinaryLoader.php index b90dc6675d..1c40589515 100644 --- a/src/bundle/Core/Imagine/BinaryLoader.php +++ b/src/bundle/Core/Imagine/BinaryLoader.php @@ -33,6 +33,11 @@ public function __construct(IOServiceInterface $ioService, MimeTypesInterface $m $this->mimeTypes = $mimeTypes; } + /** + * @param string $path + * + * @return \Liip\ImagineBundle\Binary\BinaryInterface + */ public function find($path) { try {