Completed
Push — master ( 6094fe...269f87 )
by Arjay
08:09
created
src/Request.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Check if Datatables must uses regular expressions
42 42
      *
43 43
      * @param integer $index
44
-     * @return string
44
+     * @return boolean
45 45
      */
46 46
     public function isRegex($index)
47 47
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function checkLegacyCode()
22 22
     {
23
-        if (! $this->input('draw') && $this->input('sEcho')) {
23
+        if (!$this->input('draw') && $this->input('sEcho')) {
24 24
             throw new Exception('DataTables legacy code is not supported! Please use DataTables 1.10++ coding convention.');
25
-        } elseif (! $this->input('draw') && ! $this->input('columns')) {
25
+        } elseif (!$this->input('draw') && !$this->input('columns')) {
26 26
             throw new Exception('Insufficient parameters');
27 27
         }
28 28
     }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function orderableColumns()
57 57
     {
58
-        if (! $this->isOrderable()) {
58
+        if (!$this->isOrderable()) {
59 59
             return [];
60 60
         }
61 61
 
@@ -167,6 +167,6 @@  discard block
 block discarded – undo
167 167
      */
168 168
     public function isPaginationable()
169 169
     {
170
-        return ! is_null($this->input('start')) && ! is_null($this->input('length')) && $this->input('length') != -1;
170
+        return !is_null($this->input('start')) && !is_null($this->input('length')) && $this->input('length') != -1;
171 171
     }
172 172
 }
Please login to merge, or discard this patch.