@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | - * @return mixed owner model |
|
| 44 | + * @return \Illuminate\Database\Eloquent\Relations\MorphTo owner model |
|
| 45 | 45 | */ |
| 46 | 46 | public function owner() |
| 47 | 47 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return bool | null |
|
| 106 | + * @return null|boolean | null |
|
| 107 | 107 | */ |
| 108 | 108 | public function filenameIsDifferentFromOriginal() |
| 109 | 109 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | - * @return UploadedFile |
|
| 146 | + * @return AbstractAttacherImage |
|
| 147 | 147 | */ |
| 148 | 148 | public function setUploadedFile(UploadedFile $file) |
| 149 | 149 | { |
@@ -51,8 +51,9 @@ |
||
| 51 | 51 | $imageProcessor = $this->getImageProcessor(); |
| 52 | 52 | $processing_style_routine = $this->extractStyleRoutineMethods($attacherImage); |
| 53 | 53 | |
| 54 | - if ( empty($processing_style_routine) ) |
|
| 55 | - return false; |
|
| 54 | + if ( empty($processing_style_routine) ) { |
|
| 55 | + return false; |
|
| 56 | + } |
|
| 56 | 57 | |
| 57 | 58 | foreach ($processing_style_routine as $style_name => $method) |
| 58 | 59 | { |