Skip to content

Commit 83c2317

Browse files
committed
remove redundant code
1 parent 13048d8 commit 83c2317

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

src/Handlers/ConfigHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class ConfigHandler
66
{
77
public function userField()
88
{
9-
return auth()->user()->id;
9+
return auth()->id();
1010
}
1111
}

src/LfmStorageRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Support\Facades\Storage;
66
use League\Flysystem\Cached\CachedAdapter;
77

8-
class LfmStorageRepository implements RepositoryContract
8+
class LfmStorageRepository
99
{
1010
private $disk;
1111
private $path;

src/RepositoryContract.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)