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