@@ -1390,7 +1390,7 @@ discard block |
||
1390 | 1390 | } |
1391 | 1391 | |
1392 | 1392 | /** |
1393 | - * @param array $methods |
|
1393 | + * @param string[] $methods |
|
1394 | 1394 | * |
1395 | 1395 | * @return \eZ\Publish\Core\MVC\Symfony\FieldType\RichText\Renderer|\PHPUnit_Framework_MockObject_MockObject |
1396 | 1396 | */ |
@@ -1487,6 +1487,11 @@ discard block |
||
1487 | 1487 | ); |
1488 | 1488 | } |
1489 | 1489 | |
1490 | + /** |
|
1491 | + * @param integer $mainLocationId |
|
1492 | + * |
|
1493 | + * @return Exception |
|
1494 | + */ |
|
1490 | 1495 | protected function getContentMock($mainLocationId) |
1491 | 1496 | { |
1492 | 1497 | $contentInfoMock = $this->getMock(ContentInfo::class); |
@@ -370,7 +370,7 @@ |
||
370 | 370 | * @throws \RuntimeException Thrown on recursive sudo() use. |
371 | 371 | * @throws \Exception Re throws exceptions thrown inside $callback |
372 | 372 | * |
373 | - * @return mixed |
|
373 | + * @return \eZ\Publish\API\Repository\Values\Content\Content |
|
374 | 374 | */ |
375 | 375 | public function sudo(\Closure $callback, RepositoryInterface $outerRepository = null) |
376 | 376 | { |