1 | <?php |
||
2 | |||
3 | namespace ProtoneMedia\LaravelBrowserKitMacro; |
||
4 | |||
5 | use Illuminate\Foundation\Application; |
||
6 | use Illuminate\Http\Response; |
||
7 | use Laravel\BrowserKitTesting\TestCase; |
||
8 | |||
9 | class BrowserKitTestCase extends TestCase |
||
10 | { |
||
11 | public function createApplication() |
||
12 | { |
||
13 | return; |
||
14 | } |
||
15 | |||
16 | /** |
||
17 | * Set the Application. |
||
18 | * |
||
19 | * @var \Illuminate\Foundation\Application |
||
20 | */ |
||
21 | public function setApp(Application $app) |
||
22 | { |
||
23 | $this->app = $app; |
||
24 | |||
25 | return $this; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Set the response returned by the request. |
||
30 | * |
||
31 | * @var \Illuminate\Http\Response |
||
32 | */ |
||
33 | public function setResponse(Response $response) |
||
34 | { |
||
35 | $this->response = $response; |
||
0 ignored issues
–
show
|
|||
36 | |||
37 | return $this; |
||
38 | } |
||
39 | } |
||
40 |
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..