diff --git a/src/ImageBackendFactory.php b/src/ImageBackendFactory.php index 8449e09e..a52f09a6 100644 --- a/src/ImageBackendFactory.php +++ b/src/ImageBackendFactory.php @@ -35,7 +35,7 @@ public function __construct(Factory $creator) * @param array $params The constructor parameters. * @return object The created service instances. */ - public function create($service, array $params = []) + public function create(string $service, array $params = []): ?Image_Backend { /** @var AssetContainer|null $assetContainer */ $assetContainer = reset($params);