| 1 | <?php  | 
            ||
| 22 | class DoctrineAdapterLocator implements FileLocatorInterface  | 
            ||
| 23 | { | 
            ||
| 24 | /**  | 
            ||
| 25 | * @var FileLocator  | 
            ||
| 26 | */  | 
            ||
| 27 | protected $locator;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * DoctrineAdapterLocator constructor.  | 
            ||
| 31 | *  | 
            ||
| 32 | * @param FileLocator $locator  | 
            ||
| 33 | */  | 
            ||
| 34 | public function __construct(FileLocator $locator)  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 |      * {@inheritdoc} | 
            ||
| 41 | */  | 
            ||
| 42 | public function findMappingFile($className, $extension)  | 
            ||
| 52 | |||
| 53 | /**  | 
            ||
| 54 |      * {@inheritdoc} | 
            ||
| 55 | */  | 
            ||
| 56 | public function getAllClassNames($extension)  | 
            ||
| 60 | }  | 
            ||
| 61 | 
This check looks for function calls that miss required arguments.