MimeTypeFinder.php
public static function get($file)
    {
        $type = str_replace('image/', NULL, Singleton::class('ZN\Helpers\Mime')->type($file));

        return $type === 'jpg' ? 'jpeg' : $type;
    }
public static function get($file)
    {
        $type = str_replace('image/', NULL, Singleton::class('ZN\Helpers\Mime')->type($file));

        return $type === 'jpg' ? 'jpeg' : $type;
    }
public static function get ( $ file ) { $ type = str_replace ( 'image/' , NULL , Singleton :: class ( 'ZN\Helpers\Mime' ) -> type ( $ file ) ) ; return $ type === 'jpg' ? 'jpeg' : $ type ; }
Finder mime type.

@param string $file
Finder mime type .