Skip to content

Commit 2971158

Browse files
committed
studly_case() -> Str::studly()
1 parent 3349f6e commit 2971158

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Import.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Nicklayb\LaravelDbImport;
44

55
use DB;
6+
use Str;
67

78
/**
89
* Class for Import process
@@ -207,7 +208,7 @@ public function hasTableFilter($table)
207208
*/
208209
public function getFilterName($table)
209210
{
210-
return 'filter'.studly_case($table);
211+
return 'filter'. Str::studly($table);
211212
}
212213

213214
/**
@@ -354,7 +355,7 @@ public function hasLastTables()
354355
*/
355356
public function getManipulationName($table)
356357
{
357-
return 'manipulate'.studly_case($table);
358+
return 'manipulate'.Str::studly($table);
358359
}
359360

360361
/**

0 commit comments

Comments
 (0)