| 1 | <?php |
||
| 12 | class ImportController extends AbstractController |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var SaverInterface |
||
| 16 | */ |
||
| 17 | private $saver; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | private $token; |
||
| 21 | |||
| 22 | public function __construct(Slim $app, SaverInterface $saver, $token) |
||
| 28 | |||
| 29 | public function import() |
||
| 48 | |||
| 49 | private function runImport(Request $request) |
||
| 60 | } |
||
| 61 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.