@@ -251,6 +251,10 @@ |
||
251 | 251 | ], true), print_r($this->fieldDescriptionCollection->getElements(), true)); |
252 | 252 | } |
253 | 253 | |
254 | + /** |
|
255 | + * @param string $name |
|
256 | + * @param string $label |
|
257 | + */ |
|
254 | 258 | private function getFieldDescriptionMock($name = null, $label = null) |
255 | 259 | { |
256 | 260 | $fieldDescription = $this->getMockForAbstractClass('Sonata\AdminBundle\Admin\BaseFieldDescription'); |
@@ -640,6 +640,10 @@ |
||
640 | 640 | $this->assertSame(null, $this->pager->getQuery()); |
641 | 641 | } |
642 | 642 | |
643 | + /** |
|
644 | + * @param Pager $obj |
|
645 | + * @param string $name |
|
646 | + */ |
|
643 | 647 | protected function callMethod($obj, $name, array $args = []) |
644 | 648 | { |
645 | 649 | $class = new \ReflectionClass($obj); |
@@ -257,6 +257,10 @@ |
||
257 | 257 | ], array_keys($this->datagrid->getFilters())); |
258 | 258 | } |
259 | 259 | |
260 | + /** |
|
261 | + * @param string $name |
|
262 | + * @param string $label |
|
263 | + */ |
|
260 | 264 | private function getFieldDescriptionMock($name = null, $label = null) |
261 | 265 | { |
262 | 266 | $fieldDescription = $this->getMockForAbstractClass('Sonata\AdminBundle\Admin\BaseFieldDescription'); |
@@ -39,6 +39,9 @@ |
||
39 | 39 | $this->environment = new \Twig_Environment($loader, ['strict_variables' => true]); |
40 | 40 | } |
41 | 41 | |
42 | + /** |
|
43 | + * @return string |
|
44 | + */ |
|
42 | 45 | abstract protected function getTemplate(); |
43 | 46 | |
44 | 47 | protected function getTranslator() |
@@ -70,6 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * {@inheritdoc} |
73 | + * @param string $code |
|
73 | 74 | */ |
74 | 75 | private function getAdmin($code, $list = false, $granted = false) |
75 | 76 | { |
@@ -102,6 +103,8 @@ discard block |
||
102 | 103 | |
103 | 104 | /** |
104 | 105 | * {@inheritdoc} |
106 | + * @param string $parentCode |
|
107 | + * @param string $childCode |
|
105 | 108 | */ |
106 | 109 | private function getChildAdmin($parentCode, $childCode, $list = false, $granted = false) |
107 | 110 | { |