diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4180ef7d07..e0364c5a8d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -5005,11 +5005,6 @@ parameters: count: 1 path: src/contracts/Container/Encore/ConfigurationDumper.php - - - message: "#^Method Ibexa\\\\Contracts\\\\Core\\\\Container\\\\Encore\\\\ConfigurationDumper\\:\\:dumpCustomConfiguration\\(\\) has parameter \\$webpackConfigNames with no value type specified in iterable type array\\.$#" - count: 1 - path: src/contracts/Container/Encore/ConfigurationDumper.php - - message: "#^Method Ibexa\\\\Contracts\\\\Core\\\\Container\\\\Encore\\\\ConfigurationDumper\\:\\:locateConfigurationFiles\\(\\) has parameter \\$bundlesMetadata with no value type specified in iterable type array\\.$#" count: 1 @@ -5025,11 +5020,6 @@ parameters: count: 1 path: src/contracts/Container/Encore/ConfigurationDumper.php - - - message: "#^PHPDoc tag @param has invalid value \\(array\\\\> \\$webpackConfigNames\\)\\: Unexpected token \"\\:\", expected '\\}' at offset 65$#" - count: 1 - path: src/contracts/Container/Encore/ConfigurationDumper.php - - message: "#^Parameter \\#1 \\$bundlesMetadata of method Ibexa\\\\Contracts\\\\Core\\\\Container\\\\Encore\\\\ConfigurationDumper\\:\\:locateConfigurationFiles\\(\\) expects array, array\\|bool\\|float\\|int\\|string\\|null given\\.$#" count: 1 diff --git a/src/contracts/Container/Encore/ConfigurationDumper.php b/src/contracts/Container/Encore/ConfigurationDumper.php index c89c4a6d4c..92b3736abb 100644 --- a/src/contracts/Container/Encore/ConfigurationDumper.php +++ b/src/contracts/Container/Encore/ConfigurationDumper.php @@ -31,7 +31,7 @@ public function __construct(ContainerInterface $containerBuilder) } /** - * @param array> $webpackConfigNames + * @param array> $webpackConfigNames * * @throws \JsonException */ diff --git a/src/contracts/Repository/LocationService.php b/src/contracts/Repository/LocationService.php index 05231de425..d576359335 100644 --- a/src/contracts/Repository/LocationService.php +++ b/src/contracts/Repository/LocationService.php @@ -30,8 +30,8 @@ interface LocationService * @throws \Ibexa\Contracts\Core\Repository\Exceptions\UnauthorizedException If the current user user does not have read access to the whole source subtree * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException if the target location is a sub location of the given location * - * @param \Ibexa\Contracts\Core\Repository\Values\Content\Location $subtree - the subtree denoted by the location to copy - * @param \Ibexa\Contracts\Core\Repository\Values\Content\Location $targetParentLocation - the target parent location for the copy operation + * @param \Ibexa\Contracts\Core\Repository\Values\Content\Location $subtree the subtree denoted by the location to copy + * @param \Ibexa\Contracts\Core\Repository\Values\Content\Location $targetParentLocation the target parent location for the copy operation * * @return \Ibexa\Contracts\Core\Repository\Values\Content\Location The newly created location of the copied subtree */ diff --git a/src/contracts/Search/Handler.php b/src/contracts/Search/Handler.php index 593d3f8b89..314377f965 100644 --- a/src/contracts/Search/Handler.php +++ b/src/contracts/Search/Handler.php @@ -24,7 +24,7 @@ interface Handler * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException if Query criterion is not applicable to its target * * @param \Ibexa\Contracts\Core\Repository\Values\Content\Query $query - * @param array $languageFilter - a map of language related filters specifying languages query will be performed on. + * @param array $languageFilter a map of language related filters specifying languages query will be performed on. * Also used to define which field languages are loaded for the returned content. * Currently supports: array("languages" => array(,..), "useAlwaysAvailable" => bool) * useAlwaysAvailable defaults to true to avoid exceptions on missing translations @@ -41,7 +41,7 @@ public function findContent(Query $query, array $languageFilter = []); * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException if there is more than than one result matching the criterions * * @param \Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion $filter - * @param array $languageFilter - a map of language related filters specifying languages query will be performed on. + * @param array $languageFilter a map of language related filters specifying languages query will be performed on. * Also used to define which field languages are loaded for the returned content. * Currently supports: array("languages" => array(,..), "useAlwaysAvailable" => bool) * useAlwaysAvailable defaults to true to avoid exceptions on missing translations @@ -54,7 +54,7 @@ public function findSingle(Criterion $filter, array $languageFilter = []); * Finds locations for the given $query. * * @param \Ibexa\Contracts\Core\Repository\Values\Content\LocationQuery $query - * @param array $languageFilter - a map of language related filters specifying languages query will be performed on. + * @param array $languageFilter a map of language related filters specifying languages query will be performed on. * Also used to define which field languages are loaded for the returned content. * Currently supports: array("languages" => array(,..), "useAlwaysAvailable" => bool) * useAlwaysAvailable defaults to true to avoid exceptions on missing translations