Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a return type using phpdoc to fix IDE autocomplete
The make function can't define a return type, because the result could be a Decorator, or the actual action. However, without docblocks or type-hinting, PHPStorm ends up providing incorrect autocomplete information. The solution is to instead add back a phpdoc comment for this specific use case. See lorisleiva#285 and lorisleiva#287 for more details.
- Loading branch information