Completed
Push — master ( 2c73e9...252a70 )
by Bill
10:14 queued 07:32
created
src/Repositories/ImageRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @param int|ImageRecord $model
36 36
      * @param array           $attributes
37
-     * @return mixed
37
+     * @return ImageRecord
38 38
      */
39 39
     public function update($model, array $attributes)
40 40
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace HustleWorks\ChuteLaravel\Repositories;
4 4
 
5
+use HustleWorks\ChuteLaravel\Models\Image;
5 6
 use HustleWorks\Chute\Contracts\ImageRepositoryInterface;
6 7
 use HustleWorks\Chute\DTO\ImageRecord;
7
-use HustleWorks\ChuteLaravel\Models\Image;
8 8
 
9 9
 class ImageRepository implements ImageRepositoryInterface
10 10
 {
Please login to merge, or discard this patch.
src/Services/StorageService.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Size On Disk
38 38
      *
39
-     * @param $disk
39
+     * @param string $disk
40 40
      * @param $path
41 41
      * @return bool|int
42 42
      */
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string      $destination_path
74 74
      * @param string|null $source_disk
75 75
      * @param string|null $destination_disk
76
-     * @return mixed
76
+     * @return boolean
77 77
      * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
78 78
      */
79 79
     public function move($source_path, $destination_path, $source_disk = null, $destination_disk = null)
@@ -92,6 +92,10 @@  discard block
 block discarded – undo
92 92
         return false;
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $disk
97
+     * @param string $path
98
+     */
95 99
     public function delete($disk, $path)
96 100
     {
97 101
         return Storage::disk($disk)->delete($path);
Please login to merge, or discard this patch.
src/Traits/ChuteImageModelTrait.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace HustleWorks\ChuteLaravel\Traits;
4 4
 
5
-use HustleWorks\Chute\DTO\ImageConfiguration;
6 5
 use HustleWorks\ChuteLaravel\Jobs\ImageProcessingJob;
7 6
 use HustleWorks\ChuteLaravel\Models\Image;
8
-use HustleWorks\Chute\ImageConfigurationBuilder;
9 7
 use HustleWorks\ChuteLaravel\Services\ImageUploadService;
8
+use HustleWorks\Chute\DTO\ImageConfiguration;
9
+use HustleWorks\Chute\ImageConfigurationBuilder;
10 10
 
11 11
 /**
12 12
  * Trait ChuteImageModelTrait
Please login to merge, or discard this patch.