@@ -178,7 +178,7 @@ |
||
| 178 | 178 | /** |
| 179 | 179 | * Get the location service mock object. |
| 180 | 180 | * |
| 181 | - * @return \eZ\Publish\API\Repository\LocationService |
|
| 181 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 182 | 182 | */ |
| 183 | 183 | protected function getLocationServiceMock() |
| 184 | 184 | { |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | /** |
| 250 | 250 | * Get the object state service mock object. |
| 251 | 251 | * |
| 252 | - * @return \eZ\Publish\API\Repository\ObjectStateService |
|
| 252 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 253 | 253 | */ |
| 254 | 254 | protected function getObjectStateServiceMock() |
| 255 | 255 | { |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | /** |
| 250 | 250 | * Get the object state service mock object. |
| 251 | 251 | * |
| 252 | - * @return \eZ\Publish\API\Repository\ObjectStateService |
|
| 252 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 253 | 253 | */ |
| 254 | 254 | protected function getObjectStateServiceMock() |
| 255 | 255 | { |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | /** |
| 250 | 250 | * Get the object state service mock object. |
| 251 | 251 | * |
| 252 | - * @return \eZ\Publish\API\Repository\ObjectStateService |
|
| 252 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 253 | 253 | */ |
| 254 | 254 | protected function getObjectStateServiceMock() |
| 255 | 255 | { |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | /** |
| 248 | 248 | * Get the role service mock object. |
| 249 | 249 | * |
| 250 | - * @return \eZ\Publish\API\Repository\RoleService |
|
| 250 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 251 | 251 | */ |
| 252 | 252 | protected function getRoleServiceMock() |
| 253 | 253 | { |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | /** |
| 248 | 248 | * Get the role service mock object. |
| 249 | 249 | * |
| 250 | - * @return \eZ\Publish\API\Repository\RoleService |
|
| 250 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 251 | 251 | */ |
| 252 | 252 | protected function getRoleServiceMock() |
| 253 | 253 | { |
@@ -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 | { |
@@ -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 | { |
@@ -100,6 +100,9 @@ |
||
| 100 | 100 | ); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | + /** |
|
| 104 | + * @return DeprecationWarnerInterface |
|
| 105 | + */ |
|
| 103 | 106 | public function getDeprecationWarnerMock() |
| 104 | 107 | { |
| 105 | 108 | if (!isset($this->deprecationWarnerMock)) { |