1 | <?php |
||
12 | class SymfonyHttpBridge |
||
13 | { |
||
14 | /** |
||
15 | * Converts a Symfony request object into an Infuse request object. |
||
16 | * |
||
17 | * @param SymfonyRequest $request |
||
18 | * |
||
19 | * @return Request |
||
20 | */ |
||
21 | public function convertSymfonyRequest(SymfonyRequest $request) |
||
32 | |||
33 | /** |
||
34 | * Converts an Infuse response object into a Symfony response object. |
||
35 | * |
||
36 | * @param Response $res |
||
37 | * |
||
38 | * @return SymfonyResponse |
||
39 | */ |
||
40 | public function convertInfuseResponse(Response $res) |
||
44 | } |
||
45 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.