diff --git a/src/FilemanagerField.php b/src/FilemanagerField.php index 4def6bf..5432610 100644 --- a/src/FilemanagerField.php +++ b/src/FilemanagerField.php @@ -2,9 +2,9 @@ namespace Infinety\Filemanager; -use Infinety\Filemanager\Http\Services\FileManagerService; -use Laravel\Nova\Contracts\Cover; use Laravel\Nova\Fields\Field; +use Laravel\Nova\Contracts\Cover; +use Infinety\Filemanager\Http\Services\FileManagerService; class FilemanagerField extends Field implements Cover { @@ -123,13 +123,11 @@ public function resolveThumbnailUrl() $data = $service->getFileInfoAsArray($this->value); if (empty($data)) { - return null; + return; } return $data['url']; } - - return null; } /**