Console/FindTranslations.php
protected function getPaths(): array
    {
        $paths = [
            base_path('app'),
            base_path('modules'),
            base_path('resources'),
            base_path('routes'),
        ];

        foreach ($paths as $i => $path) {
            if (!File::isDirectory($path)) {
                unset($paths[$i]);
            }
        }

        return $paths;
    }
protected function getPaths(): array
    {
        $paths = [
            base_path('app'),
            base_path('modules'),
            base_path('resources'),
            base_path('routes'),
        ];

        foreach ($paths as $i => $path) {
            if (!File::isDirectory($path)) {
                unset($paths[$i]);
            }
        }

        return $paths;
    }
protected function getPaths ( ) : array { $ paths = [ base_path ( 'app' ) , base_path ( 'modules' ) , base_path ( 'resources' ) , base_path ( 'routes' ) , ] ; foreach ( $ paths as $ i => $ path ) { if ( ! File :: isDirectory ( $ path ) ) { unset ( $ paths [ $ i ] ) ; } } return $ paths ; }
Get paths in which to search for translations.

@return array
Get paths in which to search for translations .