| 1 | <?php  | 
            ||
| 8 | class TerminalManager  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @var ObjectManager  | 
            ||
| 12 | */  | 
            ||
| 13 | protected $objectManager;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * @var string  | 
            ||
| 17 | */  | 
            ||
| 18 | protected $class;  | 
            ||
| 19 | |||
| 20 | public function __construct(ObjectManager $objectManager, string $class)  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @return ObjectRepository  | 
            ||
| 27 | */  | 
            ||
| 28 | protected function getRepository()  | 
            ||
| 32 | |||
| 33 | public function getClass() : string  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * @param string $slug  | 
            ||
| 44 | * @return TerminalInterface|null  | 
            ||
| 45 | */  | 
            ||
| 46 | public function findTerminalBySlug(string $slug) : ?TerminalInterface  | 
            ||
| 55 | }  | 
            
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.