mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
The getMethods function gets called both in the removeDuplicateMethodsFromPhpDoc function and in helper.php, which causes the method detection to be performed twice. Parts of the method detection includes a check for duplicate methods, but Macro methods for example, aren't checked for duplicates. Instead of checking everywhere if we're not adding duplicates, I've included a check in the getMethods call to just use the already generated methods if they have been generated already.