summaryrefslogtreecommitdiffstats
path: root/src/Exceptions
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-21 17:14:57 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-06-22 01:13:59 +0300
commit6691a219e8a10c5c06c2fc7eed8bc0f8ff0d5207 (patch)
tree7b339ce9221748d3f10a2be6ad962e03a64cc0bc /src/Exceptions
parentb14a35e8ad1a1e63d4b60c4fb6d86bb801600c9e (diff)
downloadsql-parser-6691a219e8a10c5c06c2fc7eed8bc0f8ff0d5207.zip
sql-parser-6691a219e8a10c5c06c2fc7eed8bc0f8ff0d5207.tar.gz
sql-parser-6691a219e8a10c5c06c2fc7eed8bc0f8ff0d5207.tar.bz2
Fixed coding style.
Diffstat (limited to 'src/Exceptions')
-rw-r--r--src/Exceptions/LexerException.php14
-rw-r--r--src/Exceptions/ParserException.php12
2 files changed, 19 insertions, 7 deletions
diff --git a/src/Exceptions/LexerException.php b/src/Exceptions/LexerException.php
index 306c8b9..53327ed 100644
--- a/src/Exceptions/LexerException.php
+++ b/src/Exceptions/LexerException.php
@@ -6,6 +6,12 @@ use SqlParser\Token;
/**
* Exception thrown by the lexer.
+ *
+ * @category Exceptions
+ * @package SqlParser
+ * @subpackage Exceptions
+ * @author Dan Ungureanu <udan1107@gmail.com>
+ * @license http://opensource.org/licenses/GPL-2.0 GNU Public License
*/
class LexerException extends \Exception
{
@@ -27,10 +33,10 @@ class LexerException extends \Exception
/**
* Constructor.
*
- * @param string $msg The message of this exception.
- * @param string $ch The character that produced this exception.
- * @param int $pos The position of the character.
- * @param int $code The code of this error.
+ * @param string $msg The message of this exception.
+ * @param string $ch The character that produced this exception.
+ * @param int $pos The position of the character.
+ * @param int $code The code of this error.
*/
public function __construct($msg = '', $ch = '', $pos = 0, $code = 0)
{
diff --git a/src/Exceptions/ParserException.php b/src/Exceptions/ParserException.php
index 7332674..06a6033 100644
--- a/src/Exceptions/ParserException.php
+++ b/src/Exceptions/ParserException.php
@@ -6,6 +6,12 @@ use SqlParser\Token;
/**
* Exception thrown by the parser.
+ *
+ * @category Exceptions
+ * @package SqlParser
+ * @subpackage Exceptions
+ * @author Dan Ungureanu <udan1107@gmail.com>
+ * @license http://opensource.org/licenses/GPL-2.0 GNU Public License
*/
class ParserException extends \Exception
{
@@ -20,9 +26,9 @@ class ParserException extends \Exception
/**
* 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.
+ * @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.
*/
public function __construct($msg = '', Token $token = null, $code = 0)
{