Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Conversation

Bilge
Copy link
Contributor

@Bilge Bilge commented Nov 3, 2015

This fixes static analysis in editors such as PhpStorm. This enables calls such as MyEnum::memberByValue($foo) to return MyEnum instead of ValueMultitonInterface during static analysis thus avoiding warnings that ValueMultitonInterface does not match the expected type MyEnum when MyEnum is used as a type hint for method calls.

…solved enumeration class.

Fixed a broken exception reference in docblock.
@Bilge Bilge force-pushed the return-static-docblocks branch from a8ef81e to 3df2966 Compare November 3, 2015 17:22
@ezzatron
Copy link
Contributor

ezzatron commented Nov 3, 2015

Thanks. Had to manually merge because of out-of-date contribution guidelines (not your fault). Released in 5.1.1.

@ezzatron ezzatron closed this Nov 3, 2015
@Bilge
Copy link
Contributor Author

Bilge commented Nov 4, 2015

Thanks, breh. Keep making awesome libraries.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants