Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add service-id-string type #421

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add service-id-string type #421

wants to merge 1 commit into from

Conversation

mglaman
Copy link
Owner

@mglaman mglaman commented Jun 1, 2022

Fixes #397

Comment on lines +10 to +15
/**
* @phpstan-param service-id-string $id
*/
public static function service($id) {
return static::getContainer()->get($id);
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to see if there is a way to get this testable as the allowed parameters.

@mglaman mglaman marked this pull request as draft July 12, 2022 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide service-id-string for service ID parameters
1 participant