diff options
Diffstat (limited to 'src/TokensList.php')
-rw-r--r-- | src/TokensList.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TokensList.php b/src/TokensList.php index 6ddce49..8d711f8 100644 --- a/src/TokensList.php +++ b/src/TokensList.php @@ -20,7 +20,7 @@ class TokensList implements \ArrayAccess * * @var array */ - public $tokens = array(); + public $tokens = []; /** * The count of tokens. @@ -42,9 +42,9 @@ class TokensList implements \ArrayAccess * @param array $tokens the initial array of tokens * @param int $count the count of tokens in the initial array */ - public function __construct(array $tokens = array(), $count = -1) + public function __construct(array $tokens = [], $count = -1) { - if (!empty($tokens)) { + if (! empty($tokens)) { $this->tokens = $tokens; if ($count === -1) { $this->count = count($tokens); |