Passed
Push — master ( 1c101f...c673c5 )
by Matthew
11:42
created
Grid/Source/ColumnExtractionTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
      */
37 37
     protected $annotationSort;
38 38
 
39
+    /**
40
+     * @param boolean $flag
41
+     */
39 42
     public function setDebug($flag)
40 43
     {
41 44
         $this->debug = $flag;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -386,7 +386,7 @@
 block discarded – undo
386 386
             return;
387 387
         }
388 388
 
389
-        uasort($ordered, function ($columnDef1, $columnDef2) {
389
+        uasort($ordered, function($columnDef1, $columnDef2) {
390 390
             $columnParts1 = $columnDef1['arguments'];
391 391
             $columnParts2 = $columnDef2['arguments'];
392 392
             $order1 = $columnParts1[5];
Please login to merge, or discard this patch.
Grid/Source/GridSourceInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -6,18 +6,33 @@  discard block
 block discarded – undo
6 6
 
7 7
 interface GridSourceInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function setId($id);
10 13
 
14
+    /**
15
+     * @return string
16
+     */
11 17
     public function getId();
12 18
 
13 19
     public function getCount();
14 20
 
15 21
     public function getRecords();
16 22
 
23
+    /**
24
+     * @return integer
25
+     */
17 26
     public function getLimit();
18 27
 
28
+    /**
29
+     * @return integer
30
+     */
19 31
     public function getOffset();
20 32
 
33
+    /**
34
+     * @return void
35
+     */
21 36
     public function getLastModified();
22 37
 
23 38
     /**
@@ -38,8 +53,14 @@  discard block
 block discarded – undo
38 53
 
39 54
     public function getOrderBy();
40 55
 
56
+    /**
57
+     * @return void
58
+     */
41 59
     public function setColumns($columns);
42 60
 
61
+    /**
62
+     * @return boolean
63
+     */
43 64
     public function hasIdColumn();
44 65
 
45 66
     public function find($id);
Please login to merge, or discard this patch.
Grid/Renderer/DataTablesRenderer.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@
 block discarded – undo
100 100
 
101 101
         // We need to pass filter information here.
102 102
         $params = array(
103
-               'id' => $this->gridSource->getId(),
104
-               'renderer' => 'datatables',
105
-               'filter' => $this->gridSource->getFilter(),
106
-               'parameters' => $this->gridSource->getParameters(),
107
-               'order' => $this->gridSource->getOrderBy(),
108
-               'fields' => $fields,
103
+                'id' => $this->gridSource->getId(),
104
+                'renderer' => 'datatables',
105
+                'filter' => $this->gridSource->getFilter(),
106
+                'parameters' => $this->gridSource->getParameters(),
107
+                'order' => $this->gridSource->getOrderBy(),
108
+                'fields' => $fields,
109 109
         );
110 110
 
111 111
         $sortInfo = $this->gridSource->getDefaultSort();
Please login to merge, or discard this patch.