Skip to content

BadRequestException parent Exception expect Throwable - #236

Merged
dg merged 1 commit into
nette:masterfrom
milous:milous-patch-1
Oct 21, 2019
Merged

BadRequestException parent Exception expect Throwable#236
dg merged 1 commit into
nette:masterfrom
milous:milous-patch-1

Conversation

@milous

@milous milous commented Oct 21, 2019

Copy link
Copy Markdown
Contributor
  • bug fix
  • BC break? no

https://www.php.net/manual/en/class.exception.php

public __construct ([ string $message = "" [, int $code = 0 [, Throwable $previous = NULL ]]] )

The third parameter can be only \Throwable

@dg

dg commented Oct 21, 2019

Copy link
Copy Markdown
Member

Thanks

@dg
dg merged commit 69a0402 into nette:master Oct 21, 2019
@milous
milous deleted the milous-patch-1 branch October 21, 2019 11:12
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.

2 participants