Commit e3dd6013 authored by Daniel Siepmann's avatar Daniel Siepmann

BUGFIX: Look for argument only in current statement

* Just check T_STRING as this are all function calls.
* Remove unused line of code.
* Limit position to current statement to not return later classname
  multiple times.

Relates: #44
parent 28947849
......@@ -34,7 +34,7 @@ class Typo3Update_Sniffs_Classname_InstantiationWithMakeInstanceSniff extends Ab
*/
public function register()