summaryrefslogtreecommitdiffstats
path: root/src/Components/Limit.php
diff options
context:
space:
mode:
authorMartkCz <antik494@gmail.com>2019-05-17 16:57:39 +0200
committerMartkCz <antik494@gmail.com>2019-05-17 16:57:39 +0200
commit8c3224fc527e52be3314bb74f42db54403ac3349 (patch)
tree3674aca258293ebb937a0801cdccbfefa7af4e0b /src/Components/Limit.php
parent0a6690b238e7821cb90ab71c78af4dc5610e5c2d (diff)
downloadsql-parser-8c3224fc527e52be3314bb74f42db54403ac3349.zip
sql-parser-8c3224fc527e52be3314bb74f42db54403ac3349.tar.gz
sql-parser-8c3224fc527e52be3314bb74f42db54403ac3349.tar.bz2
Replaced new self with new static
Diffstat (limited to 'src/Components/Limit.php')
-rw-r--r--src/Components/Limit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Limit.php b/src/Components/Limit.php
index edb25fb..e18219d 100644
--- a/src/Components/Limit.php
+++ b/src/Components/Limit.php
@@ -55,7 +55,7 @@ class Limit extends Component
*/
public static function parse(Parser $parser, TokensList $list, array $options = [])
{
- $ret = new self();
+ $ret = new static();
$offset = false;