src/Lfm.php
Lfm
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Lfm
{
const PACKAGE_NAME = 'laravel-filemanager';
const DS = '/';
Method routes
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function routes()
{
$middleware = [ CreateDefaultFolder::class, MultiUser::class ];
$as = 'unisharp.lfm.';
$namespace = '\\UniSharp\\LaravelFilemanager\\Controllers\\';
File Lfm.php
has 257 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace UniSharp\LaravelFilemanager;
use Illuminate\Contracts\Config\Repository as Config;