Skip to content

[ErrorHandler] Added type declarations where possible #32810

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

Closed
wants to merge 3 commits into from

Conversation

tweichart
Copy link

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

I've added type declarations where possible (method parameters & return types). DocBlocks were replaced too if the type declarations made them redundant.
Void returns were replaced whenever necessary.
Also on one occasion the setting of the exceptionHandler was replaced by a function call, which did practically the same thing.

Tobias Weichart added 2 commits July 30, 2019 11:59
* added type declarations for method parameters
* added type declarations for return types
* removed docBlocks where replaceable by type declarations
* replaced void returns by null where necessary
* replaced manual exceptionHandler switch through setter
* added throw documentation to docBlock
@Tobion
Copy link
Contributor

Tobion commented Jul 30, 2019

This needs to be done in 4.4 because the component is new there.

@xabbuh xabbuh added this to the next milestone Jul 30, 2019
@tweichart
Copy link
Author

sure, opened another PR for merge onto 4.4. thanks!

@tweichart tweichart closed this Jul 30, 2019
@tweichart tweichart deleted the component_errorHandler branch July 30, 2019 11:33
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants