summaryrefslogtreecommitdiffstats
path: root/src/Utils/Tokens.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils/Tokens.php')
-rw-r--r--src/Utils/Tokens.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Utils/Tokens.php b/src/Utils/Tokens.php
index 76ab14c..cde1a79 100644
--- a/src/Utils/Tokens.php
+++ b/src/Utils/Tokens.php
@@ -76,7 +76,7 @@ class Tokens
$isList = $list instanceof TokensList;
// Parsing the tokens.
- if (!$isList) {
+ if (! $isList) {
$list = Lexer::getTokens($list);
}
@@ -85,7 +85,7 @@ class Tokens
*
* @var array
*/
- $newList = array();
+ $newList = [];
/**
* The length of the find pattern is calculated only once.
@@ -136,7 +136,7 @@ class Tokens
++$j;
}
- if (!static::match($list->tokens[$j], $find[$k])) {
+ if (! static::match($list->tokens[$j], $find[$k])) {
// This token does not match the pattern.
break;
}