Completed
Push — develop ( 2f3111...cf4762 )
by Nicolas
02:46
created
Image/ImageServiceProvider.php 1 patch
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
      * Get the services provided by the provider.
36 36
      *
37
-     * @return array
37
+     * @return string[]
38 38
      */
39 39
     public function provides()
40 40
     {
Please login to merge, or discard this patch.
Image/Imagy.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,9 +109,9 @@  discard block
 block discarded – undo
109 109
 
110 110
     /**
111 111
      * Prepend the thumbnail name to filename
112
-     * @param $path
112
+     * @param string $path
113 113
      * @param $thumbnail
114
-     * @return mixed|string
114
+     * @return string
115 115
      */
116 116
     private function newFilename($path, $thumbnail)
117 117
     {
@@ -147,6 +147,7 @@  discard block
 block discarded – undo
147 147
      * @param string      $path
148 148
      * @param string      $filename
149 149
      * @param string null $thumbnail
150
+     * @param string $thumbnail
150 151
      */
151 152
     private function makeNew($path, $filename, $thumbnail)
152 153
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Modules\Media\Image;
2 2
 
3 3
 use Illuminate\Contracts\Config\Repository;
4
-use Illuminate\Support\Facades\App;
5 4
 use Modules\Media\Entities\File;
6 5
 
7 6
 class Imagy
Please login to merge, or discard this patch.
Providers/RouteServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     protected $namespace = 'Modules\Media\Http\Controllers';
12 12
 
13 13
     /**
14
-     * @return string
14
+     * @return boolean
15 15
      */
16 16
     protected function getFrontendRoute()
17 17
     {
Please login to merge, or discard this patch.
Repositories/Eloquent/EloquentFileRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      * Update a resource
14 14
      * @param  File  $file
15 15
      * @param $data
16
-     * @return mixed
16
+     * @return File
17 17
      */
18 18
     public function update($file, $data)
19 19
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * Find multiple files for the given zone and entity
74 74
      * @param zone $zone
75 75
      * @param object $entity
76
-     * @return object
76
+     * @return Collection
77 77
      */
78 78
     public function findMultipleFilesByZoneForEntity($zone, $entity)
79 79
     {
Please login to merge, or discard this patch.