@@ -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; |
@@ -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 | { |
@@ -228,6 +228,7 @@ |
||
| 228 | 228 | * |
| 229 | 229 | * @param string The field name |
| 230 | 230 | * @param mixed The field value |
| 231 | + * @param string|null $field |
|
| 231 | 232 | */ |
| 232 | 233 | private function createAndPublishContent($field, $value) |
| 233 | 234 | { |
@@ -64,9 +64,9 @@ discard block |
||
| 64 | 64 | * Search User with given username, optionally at given location. |
| 65 | 65 | * |
| 66 | 66 | * @param string $username name of User to search for |
| 67 | - * @param string $parentGroupLocationId where to search, in User Group tree |
|
| 67 | + * @param string $parentGroupId where to search, in User Group tree |
|
| 68 | 68 | * |
| 69 | - * @return User found |
|
| 69 | + * @return null|\eZ\Publish\API\Repository\Values\User\User found |
|
| 70 | 70 | */ |
| 71 | 71 | public function searchUserByLogin($username, $parentGroupId = null) |
| 72 | 72 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * @param string $name name of User Group to search for |
| 98 | 98 | * @param string $parentLocationId (optional) parent location id to search in |
| 99 | 99 | * |
| 100 | - * @return search results |
|
| 100 | + * @return \eZ\Publish\API\Repository\Values\Content\Search\SearchHit[] results |
|
| 101 | 101 | */ |
| 102 | 102 | public function searchUserGroups($name, $parentLocationId = null) |
| 103 | 103 | { |
@@ -120,12 +120,12 @@ discard block |
||
| 120 | 120 | /** |
| 121 | 121 | * Create user inside given User Group; DELETES existing User if login already exists! |
| 122 | 122 | * |
| 123 | - * @param $username username of the user to create |
|
| 124 | - * @param $email email address of user to create |
|
| 125 | - * @param $password account password for user to create |
|
| 126 | - * @param $parentGroup pathstring wherein to create user |
|
| 123 | + * @param string $username username of the user to create |
|
| 124 | + * @param string $email email address of user to create |
|
| 125 | + * @param string $password account password for user to create |
|
| 126 | + * @param \eZ\Publish\API\Repository\Values\User\UserGroup $parentGroup pathstring wherein to create user |
|
| 127 | 127 | * |
| 128 | - * @return eZ\Publish\API\Repository\Values\User\User |
|
| 128 | + * @return \eZ\Publish\API\Repository\Values\User\User |
|
| 129 | 129 | */ |
| 130 | 130 | protected function createUser($username, $email, $password, $parentGroup = null, $fields = array()) |
| 131 | 131 | { |
@@ -319,6 +319,9 @@ discard block |
||
| 319 | 319 | return false; |
| 320 | 320 | } |
| 321 | 321 | |
| 322 | + /** |
|
| 323 | + * @param integer $type |
|
| 324 | + */ |
|
| 322 | 325 | public function createPasswordHash($login, $password, $type) |
| 323 | 326 | { |
| 324 | 327 | switch ($type) { |
@@ -161,6 +161,9 @@ discard block |
||
| 161 | 161 | } |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | + /** |
|
| 165 | + * @param boolean $commit |
|
| 166 | + */ |
|
| 164 | 167 | protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit) |
| 165 | 168 | { |
| 166 | 169 | if ($contentIds = $input->getOption('content-ids')) { |
@@ -223,6 +226,10 @@ discard block |
||
| 223 | 226 | $progress->finish(); |
| 224 | 227 | } |
| 225 | 228 | |
| 229 | + /** |
|
| 230 | + * @param integer $processCount |
|
| 231 | + * @param integer $iterationCount |
|
| 232 | + */ |
|
| 226 | 233 | private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit) |
| 227 | 234 | { |
| 228 | 235 | /** |
@@ -277,7 +284,7 @@ discard block |
||
| 277 | 284 | } |
| 278 | 285 | |
| 279 | 286 | /** |
| 280 | - * @param mixed $locationId |
|
| 287 | + * @param integer $locationId |
|
| 281 | 288 | * @param bool $count |
| 282 | 289 | * |
| 283 | 290 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Sets the complete list of view providers. |
| 68 | 68 | * |
| 69 | - * @param array $viewProviders |
|
| 69 | + * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders |
|
| 70 | 70 | */ |
| 71 | 71 | public function setViewProviders(array $viewProviders) |
| 72 | 72 | { |
@@ -309,7 +309,7 @@ |
||
| 309 | 309 | } |
| 310 | 310 | |
| 311 | 311 | /** |
| 312 | - * @param array $methods |
|
| 312 | + * @param string[] $methods |
|
| 313 | 313 | * |
| 314 | 314 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter|\PHPUnit\Framework\MockObject\MockObject |
| 315 | 315 | */ |