@@ -100,6 +100,10 @@ |
||
100 | 100 | return true; |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @param string $namespace |
|
105 | + * @param string $scope |
|
106 | + */ |
|
103 | 107 | protected function resolveScopeRelativeParamName(string $paramName, ?string $namespace = null, ?string $scope = null): string |
104 | 108 | { |
105 | 109 | return $this->getScopeRelativeParamName($paramName, ...$this->resolveNamespaceAndScope($namespace, $scope)); |
@@ -24,6 +24,9 @@ |
||
24 | 24 | /** @var \eZ\Publish\Core\MVC\Symfony\View\ViewProvider|\eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessAware */ |
25 | 25 | private $viewProviders; |
26 | 26 | |
27 | + /** |
|
28 | + * @param \PHPUnit\Framework\MockObject\MockObject[] $configResolvers |
|
29 | + */ |
|
27 | 30 | public function __construct( |
28 | 31 | iterable $configResolvers, |
29 | 32 | ViewManagerInterface $viewManager |
@@ -1481,7 +1481,7 @@ discard block |
||
1481 | 1481 | * |
1482 | 1482 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
1483 | 1483 | * |
1484 | - * @return array |
|
1484 | + * @return string[] |
|
1485 | 1485 | */ |
1486 | 1486 | private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct) |
1487 | 1487 | { |
@@ -1508,7 +1508,7 @@ discard block |
||
1508 | 1508 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
1509 | 1509 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
1510 | 1510 | * |
1511 | - * @return array |
|
1511 | + * @return string[] |
|
1512 | 1512 | */ |
1513 | 1513 | protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content) |
1514 | 1514 | { |
@@ -1632,7 +1632,7 @@ discard block |
||
1632 | 1632 | |
1633 | 1633 | /** |
1634 | 1634 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
1635 | - * @param array $translations |
|
1635 | + * @param string[] $translations |
|
1636 | 1636 | * |
1637 | 1637 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
1638 | 1638 | * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException |
@@ -332,7 +332,7 @@ |
||
332 | 332 | } |
333 | 333 | |
334 | 334 | /** |
335 | - * @param mixed $locationId |
|
335 | + * @param integer $locationId |
|
336 | 336 | * @param bool $count |
337 | 337 | * |
338 | 338 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use eZ\Publish\Core\Repository\Mapper\ContentDomainMapper; |
19 | 19 | use eZ\Publish\Core\Repository\Values\Content\Content; |
20 | 20 | use eZ\Publish\Core\Repository\Values\Content\VersionInfo; |
21 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
22 | 21 | use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
23 | 22 | use eZ\Publish\SPI\Persistence\Content\Location; |
24 | 23 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |