Completed
Push — master ( 793087...6ee4a9 )
by Nicolas
02:30
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.
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.
Image/Imagy.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * Prepend the thumbnail name to filename
115 115
      * @param $path
116 116
      * @param $thumbnail
117
-     * @return mixed|string
117
+     * @return string
118 118
      */
119 119
     private function newFilename($path, $thumbnail)
120 120
     {
@@ -158,6 +158,7 @@  discard block
 block discarded – undo
158 158
      * @param MediaPath      $path
159 159
      * @param string      $filename
160 160
      * @param string null $thumbnail
161
+     * @param string $thumbnail
161 162
      */
162 163
     private function makeNew(MediaPath $path, $filename, $thumbnail)
163 164
     {
@@ -212,7 +213,7 @@  discard block
 block discarded – undo
212 213
     }
213 214
 
214 215
     /**
215
-     * @param $filename
216
+     * @param string $filename
216 217
      * @return bool
217 218
      */
218 219
     private function fileExists($filename)
Please login to merge, or discard this patch.
Repositories/Eloquent/EloquentFileRepository.php 1 patch
Doc Comments   +4 added lines, -4 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
     {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Create a file row from the given file
27 27
      * @param  UploadedFile $file
28
-     * @return mixed
28
+     * @return \Illuminate\Database\Eloquent\Model
29 29
      */
30 30
     public function createFromFile(UploadedFile $file)
31 31
     {
@@ -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
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @param $fileName
91
+     * @param string $fileName
92 92
      * @return string
93 93
      */
94 94
     private function getNewUniqueFilename($fileName)
Please login to merge, or discard this patch.