| 1 | <?php | ||
| 6 | class Xhgui_Controller_Import extends Xhgui_Controller | ||
| 7 | { | ||
| 8 | /** | ||
| 9 | * @var Xhgui_Saver_Interface | ||
| 10 | */ | ||
| 11 | private $saver; | ||
| 12 | |||
| 13 | /** @var string */ | ||
| 14 | private $token; | ||
| 15 | |||
| 16 | public function __construct(Slim $app, Xhgui_Saver_Interface $saver, $token) | ||
| 22 | |||
| 23 | public function import() | ||
| 38 | |||
| 39 | private function runImport(Request $request) | ||
| 50 | } | ||
| 51 | 
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.