Skip to content

Conversation

@fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

* @final
*/
protected function createNotFoundException(string $message = 'Not Found', \Exception $previous = null): NotFoundHttpException
protected function createNotFoundException(string $message = 'Not Found', \Throwable $previous = null): NotFoundHttpException
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Allowed because @final.

@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Nov 12, 2019
@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

nicolas-grekas added a commit that referenced this pull request Nov 12, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

Allow \Throwable $previous everywhere

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

59e044d Allow \Throwable $previous everywhere
@nicolas-grekas nicolas-grekas merged commit 59e044d into symfony:4.4 Nov 12, 2019
@fancyweb fancyweb deleted the all-allow-throwable-previous-everywhere branch November 12, 2019 14:57
This was referenced Nov 12, 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.

3 participants