@@ -39,9 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Can receive as many tuples of array( argumentName ), argumentValue as necessary. |
41 | 41 | * |
42 | - * @param $argumentString |
|
43 | - * @param string $dynamicSettingName.. |
|
44 | - * @param string $dynamicSettingValue.. |
|
42 | + * @param string $argumentString |
|
45 | 43 | * |
46 | 44 | * @return string |
47 | 45 | */ |
@@ -111,6 +111,7 @@ discard block |
||
111 | 111 | |
112 | 112 | /** |
113 | 113 | * Applies dependencies of complex $parameter in $scope. |
114 | + * @param string $parameter |
|
114 | 115 | */ |
115 | 116 | private function addComplexParametersDependencies($parameter, $scope, ContainerBuilder $container) |
116 | 117 | { |
@@ -145,6 +146,9 @@ discard block |
||
145 | 146 | } |
146 | 147 | } |
147 | 148 | |
149 | + /** |
|
150 | + * @param string $setting |
|
151 | + */ |
|
148 | 152 | private function postProcessComplexSetting($setting, $sa, ContainerBuilder $container) |
149 | 153 | { |
150 | 154 | $configResolver = $container->get('ezpublish.config.resolver.core'); |
@@ -44,6 +44,9 @@ |
||
44 | 44 | */ |
45 | 45 | private $router; |
46 | 46 | |
47 | + /** |
|
48 | + * @param string $defaultSiteAccess |
|
49 | + */ |
|
47 | 50 | public function __construct(ConfigResolverInterface $configResolver, RouterInterface $router, $defaultSiteAccess, LoggerInterface $logger = null) |
48 | 51 | { |
49 | 52 | $this->configResolver = $configResolver; |
@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Purge all variations generated for aliases in $aliasName. |
44 | 44 | * |
45 | - * @param array $aliasNames |
|
45 | + * @param string[] $aliasNames |
|
46 | 46 | */ |
47 | 47 | public function purge(array $aliasNames) |
48 | 48 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Return an array of container extensions you need to be registered for each test (usually just the container |
23 | 23 | * extension you are testing. |
24 | 24 | * |
25 | - * @return ExtensionInterface[] |
|
25 | + * @return EzPublishCoreExtension[] |
|
26 | 26 | */ |
27 | 27 | protected function getContainerExtensions() |
28 | 28 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
5 | 5 | use eZ\Publish\SPI\Persistence\Content\Field; |
6 | 6 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
7 | -use eZ\Publish\SPI\Persistence\Content\Location; |
|
8 | 7 | use eZ\Publish\SPI\Persistence\Content\VersionInfo; |
9 | 8 | |
10 | 9 | $content = new Content(); |
@@ -29,7 +29,8 @@ |
||
29 | 29 | use eZ\Publish\Core\REST\Common\RequestParser; |
30 | 30 | use eZ\Publish\Core\REST\Common\Input\Dispatcher; |
31 | 31 | use eZ\Publish\Core\REST\Common\Output\Visitor; |
32 | -use eZ\Publish\Core\REST\Common\Message; use eZ\Publish\Core\REST\Client\Exceptions\InvalidArgumentValue; |
|
32 | +use eZ\Publish\Core\REST\Common\Message; |
|
33 | +use eZ\Publish\Core\REST\Client\Exceptions\InvalidArgumentValue; |
|
33 | 34 | use eZ\Publish\Core\REST\Common\Exceptions\InvalidArgumentException; |
34 | 35 | use eZ\Publish\Core\REST\Common\Exceptions\ForbiddenException; |
35 | 36 | use eZ\Publish\Core\REST\Client\Exceptions\BadStateException; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | namespace eZ\Publish\Core\REST\Server\Controller; |
12 | 12 | |
13 | 13 | use eZ\Publish\API\Repository\Exceptions\LimitationValidationException; |
14 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
|
14 | +use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
|
15 | 15 | use eZ\Publish\Core\Base\Exceptions\ForbiddenException; |
16 | 16 | use eZ\Publish\Core\Base\Exceptions\InvalidArgumentException; |
17 | 17 | use eZ\Publish\Core\Base\Exceptions\UnauthorizedException; |
@@ -25,7 +25,6 @@ discard block |
||
25 | 25 | use eZ\Publish\API\Repository\LocationService; |
26 | 26 | use eZ\Publish\API\Repository\Values\User\RoleCreateStruct; |
27 | 27 | use eZ\Publish\API\Repository\Values\User\RoleUpdateStruct; |
28 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
|
29 | 28 | use Symfony\Component\HttpFoundation\Request; |
30 | 29 | |
31 | 30 | /** |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * |
114 | 114 | * @param string $path The content path |
115 | 115 | * @param array $fields |
116 | - * @param mixed $contentType The content type identifier |
|
116 | + * @param string $contentType The content type identifier |
|
117 | 117 | * |
118 | 118 | * @return mixed location id of the created content |
119 | 119 | */ |
@@ -147,6 +147,7 @@ discard block |
||
147 | 147 | |
148 | 148 | /** |
149 | 149 | * Maps the path of the content to it's name for later use. |
150 | + * @param string $path |
|
150 | 151 | */ |
151 | 152 | private function mapContentPath($path) |
152 | 153 | { |