@@ -60,9 +60,9 @@ |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * @param NodeDefinition $node |
| 63 | - * @param $name |
|
| 63 | + * @param string $name |
|
| 64 | 64 | * @param string $info block info line |
| 65 | - * @param ConfigurationFactory[]|ArrayObject $factories |
|
| 65 | + * @param ArrayObject $factories |
|
| 66 | 66 | */ |
| 67 | 67 | private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject $factories) |
| 68 | 68 | { |
@@ -389,7 +389,7 @@ |
||
| 389 | 389 | * @see \eZ\Publish\API\Repository\ContentService::createContentDraft() |
| 390 | 390 | * @depends eZ\Publish\API\Repository\Tests\NonRedundantFieldSetTest::testCreateContentTwoLanguagesMainTranslationStoredFields |
| 391 | 391 | * |
| 392 | - * @return \eZ\Publish\API\Repository\Values\Content\Content[] |
|
| 392 | + * @return Content[] |
|
| 393 | 393 | */ |
| 394 | 394 | public function testCreateContentDraft() |
| 395 | 395 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @param array $mockedMethods |
|
| 54 | + * @param string[] $mockedMethods |
|
| 55 | 55 | * |
| 56 | 56 | * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter |
| 57 | 57 | */ |
@@ -318,6 +318,9 @@ discard block |
||
| 318 | 318 | ]; |
| 319 | 319 | } |
| 320 | 320 | |
| 321 | + /** |
|
| 322 | + * @param string $uri |
|
| 323 | + */ |
|
| 321 | 324 | private function getExpectedRequestContext($uri) |
| 322 | 325 | { |
| 323 | 326 | $requestContext = new RequestContext(); |
@@ -1270,7 +1270,7 @@ discard block |
||
| 1270 | 1270 | |
| 1271 | 1271 | /** |
| 1272 | 1272 | * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo |
| 1273 | - * @param $fieldDefinitionIdentifier |
|
| 1273 | + * @param string $fieldDefinitionIdentifier |
|
| 1274 | 1274 | * @param array $fieldValues |
| 1275 | 1275 | * |
| 1276 | 1276 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
@@ -1387,6 +1387,10 @@ discard block |
||
| 1387 | 1387 | $contentTypeService->publishContentTypeDraft($contentTypeDraft); |
| 1388 | 1388 | } |
| 1389 | 1389 | |
| 1390 | + /** |
|
| 1391 | + * @param string $expectedPath |
|
| 1392 | + * @param boolean $expectedIsHistory |
|
| 1393 | + */ |
|
| 1390 | 1394 | private function assertUrlAliasPropertiesCorrect( |
| 1391 | 1395 | Location $expectedDestinationLocation, |
| 1392 | 1396 | $expectedPath, |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | * |
| 153 | 153 | * @param \eZ\Publish\Core\FieldType\BinaryBase\Value $value |
| 154 | 154 | * |
| 155 | - * @return mixed |
|
| 155 | + * @return boolean |
|
| 156 | 156 | */ |
| 157 | 157 | protected function getSortInfo(BaseValue $value) |
| 158 | 158 | { |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * |
| 213 | 213 | * @param string $name |
| 214 | 214 | * |
| 215 | - * @return \eZ\Publish\SPI\FieldType\ValidationError|null |
|
| 215 | + * @return ValidationError|null |
|
| 216 | 216 | */ |
| 217 | 217 | private function validateSettingName($name) |
| 218 | 218 | { |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * @param string $name |
| 237 | 237 | * @param string $value |
| 238 | 238 | * |
| 239 | - * @return \eZ\Publish\SPI\FieldType\ValidationError|null |
|
| 239 | + * @return ValidationError|null |
|
| 240 | 240 | */ |
| 241 | 241 | private function validateDefaultAuthorSetting($name, $value) |
| 242 | 242 | { |
@@ -104,6 +104,9 @@ |
||
| 104 | 104 | $this->it['siteaccess'] = $this->scriptOutput; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $command |
|
| 109 | + */ |
|
| 107 | 110 | private function iRunTheCommand($command, $siteaccess = null) |
| 108 | 111 | { |
| 109 | 112 | $phpFinder = new PhpExecutableFinder(); |
@@ -814,7 +814,6 @@ discard block |
||
| 814 | 814 | * |
| 815 | 815 | * @param string $text Content Item field value text (to be indexed) |
| 816 | 816 | * @param string $searchForText text based on which Content Item should be found |
| 817 | - * @param array $ignoreForSetupFactories list of SetupFactories to be ignored |
|
| 818 | 817 | * @dataProvider getSpecialFullTextCases |
| 819 | 818 | */ |
| 820 | 819 | public function testIndexingSpecialFullTextCases($text, $searchForText) |
@@ -1184,8 +1183,8 @@ discard block |
||
| 1184 | 1183 | * $parentLocationIdList. |
| 1185 | 1184 | * |
| 1186 | 1185 | * @param string $contentName |
| 1187 | - * @param $contentDescription |
|
| 1188 | - * @param array $parentLocationIdList |
|
| 1186 | + * @param string $contentDescription |
|
| 1187 | + * @param integer[] $parentLocationIdList |
|
| 1189 | 1188 | * |
| 1190 | 1189 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
| 1191 | 1190 | */ |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * @param string $identifier content type identifier |
| 128 | 128 | * @param bool $throwIfNotFound if true, throws an exception if it is not found. |
| 129 | 129 | * |
| 130 | - * @return \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup|null |
|
| 130 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
| 131 | 131 | */ |
| 132 | 132 | protected function loadContentTypeByIdentifier($identifier, $throwIfNotFound = true) |
| 133 | 133 | { |
@@ -151,9 +151,9 @@ discard block |
||
| 151 | 151 | * |
| 152 | 152 | * @param string $groupIdentifier content type group identifier |
| 153 | 153 | * @param string $identifier content type identifier |
| 154 | - * @param array $fields content type fields definitions |
|
| 154 | + * @param TableNode $fields content type fields definitions |
|
| 155 | 155 | * |
| 156 | - * @return eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
| 156 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
| 157 | 157 | */ |
| 158 | 158 | public function createContentType($groupIdentifier, $identifier, $fields) |
| 159 | 159 | { |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | /** |
| 202 | 202 | * Remove the given 'ContentType' object. |
| 203 | 203 | * |
| 204 | - * @param eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
| 204 | + * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
| 205 | 205 | */ |
| 206 | 206 | protected function removeContentType($contentType) |
| 207 | 207 | { |