From 8a6656a223c153850b8513e2e41b3b4ba94f3aef Mon Sep 17 00:00:00 2001 From: samuelchlui Date: Wed, 26 Jun 2019 15:58:10 +0800 Subject: [PATCH] Fixed Class 'Str' not found Laravel Framework 5.8.24 --- src/EncodedImage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EncodedImage.php b/src/EncodedImage.php index 8f45d61..87f590c 100644 --- a/src/EncodedImage.php +++ b/src/EncodedImage.php @@ -4,7 +4,7 @@ namespace Alphametric\Validation\Rules; // Using directives -use Str; +use Illuminate\Support\Str; use Illuminate\Http\UploadedFile; // Encoded image rule