File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33namespace QCod \ImageUp ;
44
55use Illuminate \Support \Arr ;
6+ use Illuminate \Support \Str ;
67use Intervention \Image \Facades \Image ;
78use Illuminate \Support \Facades \Storage ;
89use Illuminate \Contracts \Validation \Factory ;
@@ -455,7 +456,7 @@ protected function getImageUploadPath()
455456 protected function getFileUploadPath ($ file )
456457 {
457458 // check if path override is defined for current file
458- $ pathOverrideMethod = camel_case (strtolower ($ this ->uploadFieldName ) . 'UploadFilePath ' );
459+ $ pathOverrideMethod = Str:: camel (strtolower ($ this ->uploadFieldName ) . 'UploadFilePath ' );
459460
460461 if (method_exists ($ this , $ pathOverrideMethod )) {
461462 return $ this ->getImageUploadPath () . '/ ' . $ this ->$ pathOverrideMethod ($ file );
You can’t perform that action at this time.
0 commit comments