It seems like $this->getEditorLink($re...uest->input('line', 0)) targeting MathieuTu\LaravelOpenInE...ovider::getEditorLink() can also be of type false; however, redirect() does only seem to accept string|null, did you maybe forget to handle an error condition?
Loading history...
19
8
});
20
}
21
9
}
22
23
8
protected function getEditorLink($file, $line = 0)
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: