Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Failed to get methods for (classname) Undefined variable: itemName #258

Closed YoshiBleu9427 closed 8 years ago

YoshiBleu9427 commented 8 years ago

Using 0.18.8 Upon opening some php files (e.g. Peekmo\AtomAutocompletePhp\DocParser), I get the following error notification

Failed to get methods for Peekmo\AtomAutocompletePhp\DocParser
Undefined variable: itemName

2016-05-11-103516_462x114_scrot

It seems to be caused by a wrong parameter name in the parse method https://github.com/Peekmo/atom-autocomplete-php/blob/master/php/services/DocParser.php#L62 $methodName should be $itemName

Applying this change locally seemed to solve my problem