Completed
Push — master ( 9fa9ff...52caec )
by Şəhriyar
20:38 queued 15:34
created
app/Http/Controllers/FilesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         /** @var \App\Models\User $me */
77 77
         $me = app('sentinel')->getUser();
78 78
 
79
-        $file = $me->with(['files' => function (BelongsToMany $query) use ($hash) {
79
+        $file = $me->with(['files' => function(BelongsToMany $query) use ($hash) {
80 80
             $query->where('hash', '=', $hash);
81 81
         }])->first()->files->first();
82 82
 
Please login to merge, or discard this patch.
app/Listeners/Files/PersistUploadedFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $tagLimit = config('filesystems.allowed_tags_and_limits.' . $tag);
50 50
         if ($tagLimit > 0) {
51 51
             $allFilesWithSameTagBelongingToUser = $me->load([
52
-                'files' => function (BelongsToMany $query) use ($tag) {
52
+                'files' => function(BelongsToMany $query) use ($tag) {
53 53
                     $query->wherePivot('tag', '=', $tag);
54 54
                 }
55 55
             ])->files;
Please login to merge, or discard this patch.