Completed
Push — master ( 42cd97...67e643 )
by Martin
15:05
created
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/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/Csv/Renderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      *
32
-     * @return \Zend\View\Model\ViewModel
32
+     * @return ResponseStream
33 33
      */
34 34
     public function execute()
35 35
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Renderer/PHPExcel/Renderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
      * Calculates the column width, based on the papersize and orientation
262 262
      *
263 263
      * @param \PHPExcel_Worksheet $sheet
264
-     * @param array               $columns
264
+     * @param \ZfcDatagrid\Column\AbstractColumn[]               $columns
265 265
      */
266 266
     protected function calculateColumnWidth(\PHPExcel_Worksheet $sheet, array $columns)
267 267
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Service/DatagridManagerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * Create and return the MVC controller plugin manager
14 14
      *
15 15
      * @param  ServiceLocatorInterface $serviceLocator
16
-     * @return FormElementManager
16
+     * @return \Zend\ServiceManager\AbstractPluginManager
17 17
      */
18 18
     public function createService(ServiceLocatorInterface $serviceLocator)
19 19
     {
Please login to merge, or discard this patch.
src/ZfcDatagrid/Column/AbstractColumn.php 1 patch
Doc Comments   +4 added lines, -4 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
     {
@@ -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/Renderer/TCPDF/Renderer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * Calculates the column width, based on the papersize and orientation
187 187
      *
188
-     * @param array $cols
188
+     * @param \ZfcDatagrid\Column\AbstractColumn[] $cols
189 189
      */
190 190
     protected function calculateColumnWidth(array $cols)
191 191
     {
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
      * @param  string $imageData
411 411
      * @param  number $maxWidth
412 412
      * @param  number $maxHeight
413
-     * @return array
413
+     * @return double[]
414 414
      */
415 415
     protected function calcImageSize($imageData, $maxWidth, $maxHeight)
416 416
     {
Please login to merge, or discard this patch.