Skip to content

Commit ef2086c

Browse files
committed
removed scopeParser and fixed ScopeProcessor method parsing
1 parent 64ef594 commit ef2086c

2 files changed

Lines changed: 1 addition & 57 deletions

File tree

src/Parser/Processor/ScopeProcessor.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ public function createScopeFromMethod(ClassMethod $node){
8181
return;
8282
}
8383
foreach($method->arguments AS $param){
84-
$var = new Variable($param->name);
85-
$var->setFQCN($param->type);
86-
$this->scope->addVar($var);
84+
$this->scope->addVar($param);
8785
}
8886
}
8987
public function addVarToScope(Assign $node){

src/Parser/ScopeParser.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)