Completed
Push — master ( 41e548...922b05 )
by Sullivan
04:01
created
Tests/Datagrid/ListMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -251,6 +251,10 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
Tests/Datagrid/PagerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -640,6 +640,10 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Tests/Datagrid/DatagridMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -257,6 +257,10 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
Tests/Menu/Integration/BaseMenuTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
Tests/Menu/Matcher/Voter/AdminVoterTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.