| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace App\Modules\V1\Core\Utl; |
||
| 56 | protected function saveImage($image, $dir) |
||
| 57 | { |
||
| 58 | $imageName = 'image'.uniqid().time().'.jpg'; |
||
| 59 | $path = 'public'.DIRECTORY_SEPARATOR.'uploads'.DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR.$imageName; |
||
| 60 | \Storage::put($path, $image->stream()); |
||
| 61 | |||
| 62 | return $path; |
||
| 63 | } |
||
| 64 | } |
||
| 65 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.