@@ -34,7 +34,7 @@ |
||
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 | { |
@@ -36,7 +36,7 @@ discard block |
||
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 |
||
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 |
||
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); |