Completed
Push — master ( a3357c...a45e4d )
by Martin
6s
created
src/ZfcDatagrid/Column/AbstractColumn.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      *
66
-     * @param $name
66
+     * @param string $name
67 67
      */
68 68
     public function setLabel($name)
69 69
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      *
85
-     * @param $id
85
+     * @param string $id
86 86
      */
87 87
     public function setUniqueId($id)
88 88
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      *
94
-     * @return mixed
94
+     * @return string|null
95 95
      */
96 96
     public function getUniqueId()
97 97
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * Get the width
115 115
      *
116
-     * @return number
116
+     * @return integer
117 117
      */
118 118
     public function getWidth()
119 119
     {
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
 
448 448
     /**
449 449
      *
450
-     * @param mixed $value
450
+     * @param string $value
451 451
      */
452 452
     public function setFilterActive($value = '')
453 453
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Column/Action/Button.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      *
29
-     * @return string|AbstractColumn
29
+     * @return string
30 30
      */
31 31
     public function getLabel()
32 32
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Datagrid.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
 
770 770
     /**
771 771
      *
772
-     * @return null Column\Action\AbstractAction
772
+     * @return Column\Action\AbstractAction Column\Action\AbstractAction
773 773
      */
774 774
     public function getRowClickAction()
775 775
     {
@@ -801,7 +801,7 @@  discard block
 block discarded – undo
801 801
 
802 802
     /**
803 803
      *
804
-     * @return Action\Mass[]
804
+     * @return Action\Mass
805 805
      */
806 806
     public function getMassActions()
807 807
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/DataSource/DataSourceInterface.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@  discard block
 block discarded – undo
14 14
      * - ...
15 15
      *
16 16
      * @param mixed $data
17
+     * @return void
17 18
      */
18 19
     public function __construct($data);
19 20
 
@@ -34,7 +35,8 @@  discard block
 block discarded – undo
34 35
     /**
35 36
      * Set the columns
36 37
      *
37
-     * @param array $columns
38
+     * @param Column\AbstractColumn[] $columns
39
+     * @return void
38 40
      */
39 41
     public function setColumns(array $columns);
40 42
 
@@ -43,12 +45,14 @@  discard block
 block discarded – undo
43 45
      *
44 46
      * @param Column\AbstractColumn $column
45 47
      * @param string                $sortDirection
48
+     * @return void
46 49
      */
47 50
     public function addSortCondition(Column\AbstractColumn $column, $sortDirection = 'ASC');
48 51
 
49 52
     /**
50 53
      *
51
-     * @param Filter $filters
54
+     * @param Filter $filter
55
+     * @return void
52 56
      */
53 57
     public function addFilter(Filter $filter);
54 58
 
Please login to merge, or discard this patch.
src/ZfcDatagrid/DataSource/Doctrine2.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Data source
20 20
      *
21
-     * @param mixed $data
21
+     * @param ORM\QueryBuilder $data
22 22
      */
23 23
     public function __construct($data)
24 24
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/DataSource/Doctrine2Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Data source
26 26
      *
27
-     * @param mixed $data
27
+     * @param Collection $data
28 28
      */
29 29
     public function __construct($data)
30 30
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Filter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      * @see https://github.com/zfdatagrid/grid/blob/master/library/Bvb/Grid.php#L1438
87 87
      *
88 88
      * @param  string $inputFilterValue
89
-     * @param  mixed  $defaultOperator
89
+     * @param  string  $defaultOperator
90 90
      * @return array
91 91
      */
92 92
     private function setColumnOperator($inputFilterValue, $defaultOperator = self::LIKE)
Please login to merge, or discard this patch.
src/ZfcDatagrid/PrepareData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      *
36 36
      * @param array $data
37
-     * @param array $columns
37
+     * @param Column\AbstractColumn[] $columns
38 38
      */
39 39
     public function __construct(array $data, array $columns)
40 40
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Renderer/BootstrapTable/View/Helper/TableRow.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param $row
35
-     * @param  bool|true $open
35
+     * @param  boolean $open
36 36
      * @return string
37 37
      */
38 38
     private function getTr($row, $open = true)
Please login to merge, or discard this patch.