File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -351,12 +351,13 @@ public function lex()
351
351
/**
352
352
* Creates a new error log.
353
353
*
354
- * @param string $msg the error message
355
- * @param string $str the character that produced the error
356
- * @param int $pos the position of the character
357
- * @param int $code the code of the error
354
+ * @param string $msg the error message
355
+ * @param string $str the character that produced the error
356
+ * @param int $pos the position of the character
357
+ * @param int $code the code of the error
358
358
*
359
359
* @throws LexerException throws the exception, if strict mode is enabled.
360
+ * @throws \Exception
360
361
*/
361
362
public function error ($ msg , $ str = '' , $ pos = 0 , $ code = 0 )
362
363
{
@@ -842,6 +843,7 @@ public function parseNumber()
842
843
* @param string $quote additional starting symbol
843
844
*
844
845
* @return null|Token
846
+ * @throws LexerException
845
847
*/
846
848
public function parseString ($ quote = '' )
847
849
{
@@ -889,6 +891,7 @@ public function parseString($quote = '')
889
891
* Parses a symbol.
890
892
*
891
893
* @return null|Token
894
+ * @throws LexerException
892
895
*/
893
896
public function parseSymbol ()
894
897
{
You can’t perform that action at this time.
0 commit comments