Improve IDE autocompletion
According to type 2nd constructor-argument `$reasonData` can either be a Link or a PackageInterface. IDEs like PhpStorm won't be able to provide autocompletion since both classes are from a different namespace. In order to provide better autocompletion for `$reasonData` and by extension `$this->reasonData` the use statements should be included or the type hint should use the fully qualified class name. For the same reason I added the docblock on the protected method `formatePackagesUnique()`.main
parent
189ba423ae
commit
2df1a69287
Loading…
Reference in New Issue