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

Remove type-hint #2872

Merged
merged 3 commits into from Nov 4, 2019
Merged

Remove type-hint #2872

merged 3 commits into from Nov 4, 2019

Conversation

@adriansuter
Copy link
Contributor

adriansuter commented Nov 1, 2019

The method getNamedRoute() returns a RouteInterface (type-hinted) which defines the method getIdentifier() used on the next line. So this explicit type-hint can be removed.

The method `getNamedRoute()` returns a `RouteInterface` which defines the method `getIdentifier()` used on the next line.
@coveralls

This comment has been minimized.

Copy link

coveralls commented Nov 1, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 2af74a6 on adriansuter:patch-type-hint into df0d471 on slimphp:4.x.

@l0gicgate l0gicgate added the Slim 4 label Nov 4, 2019
@l0gicgate l0gicgate added this to the 4.4.0 milestone Nov 4, 2019
@l0gicgate l0gicgate merged commit 0066f24 into slimphp:4.x Nov 4, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 100.0%
Details
@adriansuter adriansuter deleted the adriansuter:patch-type-hint branch Nov 4, 2019
@l0gicgate l0gicgate mentioned this pull request Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.