Completed
Branch develop (77c7ee)
by Boy
02:26
created
src/CMPayments/JsonLint/Exceptions/JsonLintException.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param null $jsonColumnNo
98
+     * @param integer $jsonColumnNo
99 99
      */
100 100
     public function setJsonColumnNo($jsonColumnNo)
101 101
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * Append the current message with some more text
170 170
      *
171
-     * @param $appendingText
171
+     * @param string|null $appendingText
172 172
      */
173 173
     public function appendMessage($appendingText)
174 174
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      * Retrieves a specific array key from a class constant
195 195
      *
196 196
      * @param int    $code
197
-     * @param null   $default
197
+     * @param string   $default
198 198
      * @param string $msgArray
199 199
      *
200 200
      * @return null|string
Please login to merge, or discard this patch.
src/CMPayments/JsonLint/JsonLinter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @var array
78 78
      */
79
-    private $terminals = [2 => "error", 4 => "STRING", 6 => "NUMBER", 8 => "NULL", 10 => "TRUE", 11 => "FALSE", 14 => "EOF", 17 => "{", 18 => "}", 21 => ":", 22 => ",", 23 => "[", 24 => "]",];
79
+    private $terminals = [2 => "error", 4 => "STRING", 6 => "NUMBER", 8 => "NULL", 10 => "TRUE", 11 => "FALSE", 14 => "EOF", 17 => "{", 18 => "}", 21 => ":", 22 => ",", 23 => "[", 24 => "]", ];
80 80
 
81 81
     /**
82 82
      * @var array
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
                 }
318 318
 
319 319
                 $preErrorSymbol = $symbol; // save the lookahead token
320
-                $symbol         = $terror;         // insert generic error symbol as new lookahead
320
+                $symbol         = $terror; // insert generic error symbol as new lookahead
321 321
                 $state          = $this->stack[count($this->stack) - 1];
322 322
                 $action         = isset($this->table[$state][$terror]) ? $this->table[$state][$terror] : false;
323 323
                 $recovering     = 3; // allow 3 real symbols to be shifted before reporting a new error
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
             case 17:
503 503
                 if ($this->flags & self::PARSE_TO_ASSOC) {
504 504
 
505
-                    $yVal->token =& $tokens[$len - 2];
505
+                    $yVal->token = & $tokens[$len - 2];
506 506
                     $key         = $tokens[$len][0];
507 507
 
508 508
                     if (($this->flags & self::DETECT_KEY_CONFLICTS) && isset($tokens[$len - 2][$key])) {
Please login to merge, or discard this patch.