Completed
Pull Request — master (#2)
by Colin
02:25
created
src/Json5Decoder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      * Get the next character without consuming it or
146 146
      * assigning it to the ch variable.
147 147
      *
148
-     * @return mixed
148
+     * @return string|null
149 149
      */
150 150
     private function peek()
151 151
     {
@@ -580,6 +580,9 @@  discard block
 block discarded – undo
580 580
         }
581 581
     }
582 582
 
583
+    /**
584
+     * @param string $message
585
+     */
583 586
     private function throwSyntaxError($message)
584 587
     {
585 588
         throw new SyntaxError($message, $this->lineNumber, $this->columnNumber);
Please login to merge, or discard this patch.