barryvdh/laravel-ide-helper — pull request #10 by awellis13 (2013-05-07 21:55:59+00:00)
Title: fixed a bug causing the model command to fail on methods that are not re...

I have the following method in one of my models:

````
/**
* Returns the display name for this BID.
*
* @return string
*/
public function displayName()
{
return $this->name.$this->band->tag;
}
````

This was causing the following error when running the `:models` command:

````
{"error":{"type":"ErrorException","message":"Undefined offset: 2","file":"\/home\/andrew\/Developer\/LiquidCompass\/BuildTools\/development\/Sites\/apinew\/vendor\/barryvdh\/laravel-ide-helper\/src\/Barryvdh\/LaravelIdeHelper\/ModelsCommand.php","line":203}}
````

This code change fixes this bug and I have a successful model helper built.