| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class RedirectException extends Exception |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var RedirectResponse |
||
| 13 | */ |
||
| 14 | private $redirectResponse; |
||
| 15 | |||
| 16 | public function __construct( |
||
| 17 | string $redirectResponse, |
||
| 18 | string $message = "", |
||
| 19 | int $code = 0, |
||
| 20 | Throwable $previous = null |
||
| 21 | ) { |
||
| 22 | $this->redirectResponse = $redirectResponse; |
||
|
|
|||
| 23 | parent::__construct($message, $code, $previous); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getRedirectResponse() |
||
| 29 | } |
||
| 30 | |||
| 32 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..