@@ -69,6 +69,9 @@ discard block |
||
| 69 | 69 | ); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $method |
|
| 74 | + */ |
|
| 72 | 75 | protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event) |
| 73 | 76 | { |
| 74 | 77 | $this->getVisitorDispatcherMock() |
@@ -88,6 +91,9 @@ discard block |
||
| 88 | 91 | $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock()); |
| 89 | 92 | } |
| 90 | 93 | |
| 94 | + /** |
|
| 95 | + * @param string $method |
|
| 96 | + */ |
|
| 91 | 97 | protected function onKernelView($method, $event) |
| 92 | 98 | { |
| 93 | 99 | $this->getVisitorDispatcherMock() |
@@ -110,7 +116,7 @@ discard block |
||
| 110 | 116 | } |
| 111 | 117 | |
| 112 | 118 | /** |
| 113 | - * @return AcceptHeaderVisitorDispatcher|PHPUnit_Framework_MockObject_MockObject |
|
| 119 | + * @return AcceptHeaderVisitorDispatcher |
|
| 114 | 120 | */ |
| 115 | 121 | public function getVisitorDispatcherMock() |
| 116 | 122 | { |
@@ -149,7 +149,7 @@ |
||
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | - * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit_Framework_MockObject_MockObject |
|
| 152 | + * @return \Symfony\Component\Routing\RouterInterface |
|
| 153 | 153 | */ |
| 154 | 154 | private function getRouterMock() |
| 155 | 155 | { |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to delete a content type group |
| 88 | 88 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If a to be deleted content type has instances |
| 89 | 89 | * |
| 90 | - * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $ContentTypeGroup |
|
| 90 | + * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup |
|
| 91 | 91 | */ |
| 92 | 92 | public function deleteContentTypeGroup(ContentTypeGroup $contentTypeGroup); |
| 93 | 93 | |
@@ -183,6 +183,9 @@ |
||
| 183 | 183 | return $this->createTestContent('eng-US', $fieldValues); |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $initialLanguageCode |
|
| 188 | + */ |
|
| 186 | 189 | protected function updateTestContent($initialLanguageCode, array $fieldValues) |
| 187 | 190 | { |
| 188 | 191 | $repository = $this->getRepository(); |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | /** |
| 101 | 101 | * Get initial field data for valid object creation. |
| 102 | 102 | * |
| 103 | - * @return mixed |
|
| 103 | + * @return AuthorValue |
|
| 104 | 104 | */ |
| 105 | 105 | public function getValidCreationFieldData() |
| 106 | 106 | { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | /** |
| 185 | 185 | * Get update field externals data. |
| 186 | 186 | * |
| 187 | - * @return array |
|
| 187 | + * @return AuthorValue |
|
| 188 | 188 | */ |
| 189 | 189 | public function getValidUpdateFieldData() |
| 190 | 190 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | /** |
| 157 | 157 | * Get initial field data for valid object creation. |
| 158 | 158 | * |
| 159 | - * @return mixed |
|
| 159 | + * @return BinaryFileValue |
|
| 160 | 160 | */ |
| 161 | 161 | public function getValidCreationFieldData() |
| 162 | 162 | { |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * Get update field externals data. |
| 247 | 247 | * |
| 248 | - * @return array |
|
| 248 | + * @return BinaryFileValue |
|
| 249 | 249 | */ |
| 250 | 250 | public function getValidUpdateFieldData() |
| 251 | 251 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * Get initial field data for valid object creation. |
| 100 | 100 | * |
| 101 | - * @return mixed |
|
| 101 | + * @return CheckboxValue |
|
| 102 | 102 | */ |
| 103 | 103 | public function getValidCreationFieldData() |
| 104 | 104 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | /** |
| 164 | 164 | * Get update field externals data. |
| 165 | 165 | * |
| 166 | - * @return array |
|
| 166 | + * @return CheckboxValue |
|
| 167 | 167 | */ |
| 168 | 168 | public function getValidUpdateFieldData() |
| 169 | 169 | { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | /** |
| 106 | 106 | * Get initial field data for valid object creation. |
| 107 | 107 | * |
| 108 | - * @return mixed |
|
| 108 | + * @return CountryValue |
|
| 109 | 109 | */ |
| 110 | 110 | public function getValidCreationFieldData() |
| 111 | 111 | { |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | /** |
| 209 | 209 | * Get update field externals data. |
| 210 | 210 | * |
| 211 | - * @return array |
|
| 211 | + * @return CountryValue |
|
| 212 | 212 | */ |
| 213 | 213 | public function getValidUpdateFieldData() |
| 214 | 214 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | /** |
| 117 | 117 | * Get initial field data for valid object creation. |
| 118 | 118 | * |
| 119 | - * @return mixed |
|
| 119 | + * @return DateAndTimeValue |
|
| 120 | 120 | */ |
| 121 | 121 | public function getValidCreationFieldData() |
| 122 | 122 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * Get update field externals data. |
| 184 | 184 | * |
| 185 | - * @return array |
|
| 185 | + * @return DateAndTimeValue |
|
| 186 | 186 | */ |
| 187 | 187 | public function getValidUpdateFieldData() |
| 188 | 188 | { |