@@ -67,6 +67,9 @@ discard block |
||
| 67 | 67 | ); |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $method |
|
| 72 | + */ |
|
| 70 | 73 | protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event) |
| 71 | 74 | { |
| 72 | 75 | $this->getVisitorDispatcherMock() |
@@ -86,6 +89,9 @@ discard block |
||
| 86 | 89 | $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock()); |
| 87 | 90 | } |
| 88 | 91 | |
| 92 | + /** |
|
| 93 | + * @param string $method |
|
| 94 | + */ |
|
| 89 | 95 | protected function onKernelView($method, $event) |
| 90 | 96 | { |
| 91 | 97 | $this->getVisitorDispatcherMock() |
@@ -108,7 +114,7 @@ discard block |
||
| 108 | 114 | } |
| 109 | 115 | |
| 110 | 116 | /** |
| 111 | - * @return AcceptHeaderVisitorDispatcher|MockObject |
|
| 117 | + * @return AcceptHeaderVisitorDispatcher |
|
| 112 | 118 | */ |
| 113 | 119 | public function getVisitorDispatcherMock() |
| 114 | 120 | { |
@@ -148,7 +148,7 @@ |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | - * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit\Framework\MockObject\MockObject |
|
| 151 | + * @return \Symfony\Component\Routing\RouterInterface |
|
| 152 | 152 | */ |
| 153 | 153 | private function getRouterMock() |
| 154 | 154 | { |
@@ -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(); |
@@ -187,7 +187,7 @@ |
||
| 187 | 187 | /** |
| 188 | 188 | * Returns if the given $value is considered empty by the field type. |
| 189 | 189 | * |
| 190 | - * @param mixed $value |
|
| 190 | + * @param SPIValue $value |
|
| 191 | 191 | * |
| 192 | 192 | * @return bool |
| 193 | 193 | */ |
@@ -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 | { |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | /** |
| 183 | 183 | * Implements the core of {@see isEmptyValue()}. |
| 184 | 184 | * |
| 185 | - * @param mixed $value |
|
| 185 | + * @param SPIValue $value |
|
| 186 | 186 | * |
| 187 | 187 | * @return bool |
| 188 | 188 | */ |