Skip to content

Commit a210ae3

Browse files
committed
Removed useless code
Signed-off-by: Jan Pecha <[email protected]>
1 parent 4212eb4 commit a210ae3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/PhpDepend.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,9 @@ public function parse($str)
102102
$this->classes = array();
103103
$this->dependencies = array();
104104
$this->use = array();
105-
$this->kill = FALSE;
106105
$this->level = 0;
107106

108-
while($token = $this->next())// && !$this->kill)
107+
while($token = $this->next())
109108
{
110109
$tokenId = is_array($token) ? $token[0] : $token;
111110

@@ -248,11 +247,6 @@ private function addDependency($class)
248247
*/
249248
private function next()
250249
{
251-
if($this->kill)
252-
{
253-
return FALSE;
254-
}
255-
256250
$next = current($this->tokens);
257251
next($this->tokens);
258252
return $next;

0 commit comments

Comments
 (0)