Skip to content

Commit 183193b

Browse files
committed
Remove some unused variables, properties and methods
1 parent c31c877 commit 183193b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Parser/TokenStream.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ class TokenStream
2929
*/
3030
private $tokens = array();
3131

32-
/**
33-
* @var bool
34-
*/
35-
private $frozen = false;
36-
3732
/**
3833
* @var Token[]
3934
*/
@@ -47,7 +42,7 @@ class TokenStream
4742
/**
4843
* @var Token|null
4944
*/
50-
private $peeked = null;
45+
private $peeked;
5146

5247
/**
5348
* @var bool
@@ -73,8 +68,6 @@ public function push(Token $token)
7368
*/
7469
public function freeze()
7570
{
76-
$this->frozen = true;
77-
7871
return $this;
7972
}
8073

0 commit comments

Comments
 (0)