diff options
Diffstat (limited to 'src/Exceptions/ParserException.php')
-rw-r--r-- | src/Exceptions/ParserException.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Exceptions/ParserException.php b/src/Exceptions/ParserException.php index eb13653..ae63f07 100644 --- a/src/Exceptions/ParserException.php +++ b/src/Exceptions/ParserException.php @@ -1,21 +1,18 @@ <?php - /** * Exception thrown by the parser. */ +declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Exceptions; +use Exception; use PhpMyAdmin\SqlParser\Token; /** * Exception thrown by the parser. - * - * @category Exceptions - * - * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ */ -class ParserException extends \Exception +class ParserException extends Exception { /** * The token that produced this error. @@ -25,8 +22,6 @@ class ParserException extends \Exception public $token; /** - * Constructor. - * * @param string $msg the message of this exception * @param Token $token the token that produced this exception * @param int $code the code of this error |