@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\DBAL\Platforms\AbstractPlatform; |
15 | 15 | use Doctrine\DBAL\Schema\Schema; |
16 | 16 | use eZ\Publish\Core\Base\ServiceContainer; |
17 | -use EzSystems\DoctrineSchema\API\Exception\InvalidConfigurationException; |
|
18 | 17 | use EzSystems\DoctrineSchema\Importer\SchemaImporter; |
19 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
20 | 19 | use eZ\Publish\API\Repository\Tests\SetupFactory; |
@@ -1416,7 +1416,7 @@ discard block |
||
1416 | 1416 | * |
1417 | 1417 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
1418 | 1418 | * |
1419 | - * @return array |
|
1419 | + * @return string[] |
|
1420 | 1420 | */ |
1421 | 1421 | private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct) |
1422 | 1422 | { |
@@ -1443,7 +1443,7 @@ discard block |
||
1443 | 1443 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
1444 | 1444 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
1445 | 1445 | * |
1446 | - * @return array |
|
1446 | + * @return string[] |
|
1447 | 1447 | */ |
1448 | 1448 | protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content) |
1449 | 1449 | { |
@@ -1572,7 +1572,7 @@ discard block |
||
1572 | 1572 | |
1573 | 1573 | /** |
1574 | 1574 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
1575 | - * @param array $translations |
|
1575 | + * @param string[] $translations |
|
1576 | 1576 | * |
1577 | 1577 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
1578 | 1578 | * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException |
@@ -1642,7 +1642,7 @@ discard block |
||
1642 | 1642 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
1643 | 1643 | * @param int|null $publicationDate If null existing date is kept if there is one, otherwise current time is used. |
1644 | 1644 | * |
1645 | - * @return \eZ\Publish\API\Repository\Values\Content\Content |
|
1645 | + * @return LocationCreateStruct |
|
1646 | 1646 | */ |
1647 | 1647 | protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null) |
1648 | 1648 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use eZ\Publish\API\Repository\Repository as RepositoryInterface; |
13 | 13 | use eZ\Publish\Core\Repository\Values\Content\Location; |
14 | 14 | use eZ\Publish\API\Repository\Values\Content\Language; |
15 | -use eZ\Publish\SPI\Persistence\Content\Type; |
|
16 | 15 | use eZ\Publish\SPI\Persistence\Handler; |
17 | 16 | use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct as APIContentUpdateStruct; |
18 | 17 | use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
@@ -141,7 +141,7 @@ |
||
141 | 141 | * |
142 | 142 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if the url wild card was not found |
143 | 143 | * |
144 | - * @param mixed $id |
|
144 | + * @param string $id |
|
145 | 145 | * |
146 | 146 | * @return \eZ\Publish\API\Repository\Values\Content\UrlWildcard |
147 | 147 | */ |
@@ -19,7 +19,6 @@ |
||
19 | 19 | * Constructor. |
20 | 20 | * |
21 | 21 | * @param \eZ\Publish\Core\Persistence\TransformationProcessor\PcreCompiler $compiler |
22 | - * @param string $installDir Base dir for rule loading |
|
23 | 22 | * @param array $ruleFiles |
24 | 23 | */ |
25 | 24 | public function __construct(PcreCompiler $compiler, array $ruleFiles = []) |
@@ -61,6 +61,9 @@ |
||
61 | 61 | /** @var \Symfony\Component\Security\Http\Logout\LogoutHandlerInterface[] */ |
62 | 62 | private $logoutHandlers = []; |
63 | 63 | |
64 | + /** |
|
65 | + * @param string $providerKey |
|
66 | + */ |
|
64 | 67 | public function __construct( |
65 | 68 | TokenStorageInterface $tokenStorage, |
66 | 69 | AuthenticationManagerInterface $authenticationManager, |