@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | /** |
| 478 | 478 | * Get the user service mock object. |
| 479 | 479 | * |
| 480 | - * @return \eZ\Publish\API\Repository\UserService |
|
| 480 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 481 | 481 | */ |
| 482 | 482 | protected function getUserServiceMock() |
| 483 | 483 | { |
@@ -510,7 +510,7 @@ discard block |
||
| 510 | 510 | /** |
| 511 | 511 | * Get the content type service mock object. |
| 512 | 512 | * |
| 513 | - * @return \eZ\Publish\API\Repository\ContentTypeService |
|
| 513 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 514 | 514 | */ |
| 515 | 515 | protected function getContentTypeServiceMock() |
| 516 | 516 | { |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | /** |
| 245 | 245 | * Get the user service mock object. |
| 246 | 246 | * |
| 247 | - * @return \eZ\Publish\API\Repository\UserService |
|
| 247 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 248 | 248 | */ |
| 249 | 249 | protected function getUserServiceMock() |
| 250 | 250 | { |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | /** |
| 263 | 263 | * Get the location service mock object. |
| 264 | 264 | * |
| 265 | - * @return \eZ\Publish\API\Repository\LocationService |
|
| 265 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 266 | 266 | */ |
| 267 | 267 | protected function getLocationServiceMock() |
| 268 | 268 | { |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | /** |
| 292 | 292 | * Get the content service mock object. |
| 293 | 293 | * |
| 294 | - * @return \eZ\Publish\API\Repository\ContentService |
|
| 294 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 295 | 295 | */ |
| 296 | 296 | protected function getContentServiceMock() |
| 297 | 297 | { |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | /** |
| 275 | 275 | * Get the user service mock object. |
| 276 | 276 | * |
| 277 | - * @return \eZ\Publish\API\Repository\UserService |
|
| 277 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 278 | 278 | */ |
| 279 | 279 | protected function getUserServiceMock() |
| 280 | 280 | { |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | /** |
| 293 | 293 | * Get the Content service mock object. |
| 294 | 294 | * |
| 295 | - * @return \eZ\Publish\API\Repository\ContentService |
|
| 295 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 296 | 296 | */ |
| 297 | 297 | protected function getContentServiceMock() |
| 298 | 298 | { |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | /** |
| 169 | 169 | * Get the Content service mock object. |
| 170 | 170 | * |
| 171 | - * @return \eZ\Publish\API\Repository\ContentService |
|
| 171 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 172 | 172 | */ |
| 173 | 173 | protected function getContentServiceMock() |
| 174 | 174 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | /** |
| 37 | 37 | * Gets the exception. |
| 38 | 38 | * |
| 39 | - * @return \Exception |
|
| 39 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 40 | 40 | */ |
| 41 | 41 | protected function getException() |
| 42 | 42 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | /** |
| 37 | 37 | * Get the exception. |
| 38 | 38 | * |
| 39 | - * @return \Exception |
|
| 39 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 40 | 40 | */ |
| 41 | 41 | protected function getException() |
| 42 | 42 | { |
@@ -210,7 +210,7 @@ |
||
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | /** |
| 213 | - * @param $userId |
|
| 213 | + * @param integer $userId |
|
| 214 | 214 | * |
| 215 | 215 | * @return EzUser |
| 216 | 216 | */ |
@@ -118,6 +118,9 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | protected $contentTypeHandler; |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler |
|
| 123 | + */ |
|
| 121 | 124 | protected function getContentTypeHandler() |
| 122 | 125 | { |
| 123 | 126 | if (!isset($this->contentTypeHandler)) { |
@@ -155,7 +158,7 @@ discard block |
||
| 155 | 158 | /** |
| 156 | 159 | * Returns a content mapper mock. |
| 157 | 160 | * |
| 158 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
| 161 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 159 | 162 | */ |
| 160 | 163 | protected function getContentMapperMock() |
| 161 | 164 | { |
@@ -211,7 +214,7 @@ discard block |
||
| 211 | 214 | /** |
| 212 | 215 | * Returns a content field handler mock. |
| 213 | 216 | * |
| 214 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler |
|
| 217 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 215 | 218 | */ |
| 216 | 219 | protected function getContentFieldHandlerMock() |
| 217 | 220 | { |
@@ -60,6 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * Assert that the elements are. |
| 63 | + * @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $searchResult |
|
| 63 | 64 | */ |
| 64 | 65 | protected function assertSearchResults($expectedIds, $searchResult) |
| 65 | 66 | { |
@@ -237,6 +238,9 @@ discard block |
||
| 237 | 238 | |
| 238 | 239 | protected $contentTypeHandler; |
| 239 | 240 | |
| 241 | + /** |
|
| 242 | + * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler |
|
| 243 | + */ |
|
| 240 | 244 | protected function getContentTypeHandler() |
| 241 | 245 | { |
| 242 | 246 | if (!isset($this->contentTypeHandler)) { |
@@ -277,7 +281,7 @@ discard block |
||
| 277 | 281 | /** |
| 278 | 282 | * Returns a content mapper mock. |
| 279 | 283 | * |
| 280 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
| 284 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 281 | 285 | */ |
| 282 | 286 | protected function getContentMapperMock() |
| 283 | 287 | { |
@@ -316,7 +320,7 @@ discard block |
||
| 316 | 320 | /** |
| 317 | 321 | * Returns a content field handler mock. |
| 318 | 322 | * |
| 319 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler |
|
| 323 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 320 | 324 | */ |
| 321 | 325 | protected function getContentFieldHandlerMock() |
| 322 | 326 | { |