| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace App\Modules\V1\Core\Utl; |
||
| 25 | public function uploadImageBas64($image, $dir) |
||
| 26 | { |
||
| 27 | if ( ! strlen($image)) |
||
| 28 | { |
||
| 29 | return null; |
||
| 30 | } |
||
| 31 | |||
| 32 | $base = base64_decode(preg_replace('#^data:image/\w+;base64,#i', '', $image)); |
||
| 33 | $image = \Image::make($base); |
||
| 34 | |||
| 35 | return $this->saveImage($image, $dir); |
||
| 36 | } |
||
| 37 | |||
| 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.