| 1 | <?php  | 
            ||
| 6 | class Xhgui_Controller_Export extends Xhgui_Controller  | 
            ||
| 7 | { | 
            ||
| 8 | /** @var CachegrindConverter */  | 
            ||
| 9 | private $converter;  | 
            ||
| 10 | |||
| 11 | /** @var Xhgui_Searcher_Interface */  | 
            ||
| 12 | private $searcher;  | 
            ||
| 13 | |||
| 14 | public function __construct(Slim $app, Xhgui_Searcher_Interface $searcher)  | 
            ||
| 20 | |||
| 21 | public function cachegrind()  | 
            ||
| 35 | }  | 
            ||
| 36 | 
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.