| 1 | <?php  | 
            ||
| 13 | class ReindexHandler  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * @var string  | 
            ||
| 17 | */  | 
            ||
| 18 | public static $crossIndexClassname = CrossIndex::class;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * Reindex handler  | 
            ||
| 22 | *  | 
            ||
| 23 | * @param Client $client  | 
            ||
| 24 | * @param string $oldIndex  | 
            ||
| 25 | * @param string $newIndex  | 
            ||
| 26 | */  | 
            ||
| 27 | 1 | public function handle(Client $client, $oldIndex, $newIndex)  | 
            |
| 34 | }  | 
            ||
| 35 | 
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.