@@ -67,7 +67,7 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @return ModelManagerInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 70 | + * @return ModelManagerInterface |
|
| 71 | 71 | */ |
| 72 | 72 | private function createModelManagerMock() |
| 73 | 73 | { |
@@ -38,6 +38,9 @@ |
||
| 38 | 38 | $this->environment = new \Twig_Environment($loader, array('strict_variables' => true)); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @return string |
|
| 43 | + */ |
|
| 41 | 44 | abstract protected function getTemplate(); |
| 42 | 45 | |
| 43 | 46 | protected function getTranslator() |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * @param mixed $data |
| 41 | 41 | * |
| 42 | - * @return ItemInterface |
|
| 42 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 43 | 43 | */ |
| 44 | 44 | protected function createItem($data) |
| 45 | 45 | { |
@@ -68,6 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | 70 | * {@inheritdoc} |
| 71 | + * @param string $code |
|
| 71 | 72 | */ |
| 72 | 73 | private function getAdmin($code, $list = false, $granted = false) |
| 73 | 74 | { |
@@ -230,7 +230,7 @@ |
||
| 230 | 230 | } |
| 231 | 231 | |
| 232 | 232 | /** |
| 233 | - * @return AdminInterface |
|
| 233 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 234 | 234 | */ |
| 235 | 235 | private function getSonataAdminObject() |
| 236 | 236 | { |