We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38de27e + e313277 commit dad1cbdCopy full SHA for dad1cbd
src/Console/InstallCommand.php
@@ -2,9 +2,9 @@
2
3
namespace OwenIt\Auditing\Console;
4
5
-use Illuminate\Support\Str;
6
use Illuminate\Console\Command;
7
use Illuminate\Console\DetectsApplicationNamespace;
+use Illuminate\Support\Str;
8
9
class InstallCommand extends Command
10
{
@@ -43,7 +43,7 @@ public function handle()
43
*/
44
protected function registerAuditingServiceProvider()
45
46
- $namespace = str_replace_last('\\', '', $this->getAppNamespace());
+ $namespace = Str::replaceLast('\\', '', $this->getAppNamespace());
47
48
$appConfig = file_get_contents(config_path('app.php'));
49
0 commit comments