| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class VichUploadPropertyNamer extends \Vich\UploaderBundle\Naming\PropertyNamer //implements NamerInterface, ConfigurableInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Guess the extension of the given file. |
||
| 12 | * |
||
| 13 | * @param UploadedFile $file |
||
| 14 | * |
||
| 15 | * @return string|null |
||
| 16 | */ |
||
| 17 | private function getExtension(UploadedFile $file): ?string |
||
| 31 | } |
||
| 32 | |||
| 33 | public function name($object, PropertyMapping $mapping): string |
||
| 38 |
This check looks for private methods that have been defined, but are not used inside the class.