Skip to content

Commit

Permalink
Merge pull request #704 from cyrodjohn/2.0
Browse files Browse the repository at this point in the history
Change str_replace_last to Str::replaceLast()
  • Loading branch information
taylorotwell authored Aug 22, 2019
2 parents e384830 + c036b1b commit f8317be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function handle()
*/
protected function registerTelescopeServiceProvider()
{
$namespace = str_replace_last('\\', '', $this->getAppNamespace());
$namespace = Str::replaceLast('\\', '', $this->getAppNamespace());

$appConfig = file_get_contents(config_path('app.php'));

Expand Down

0 comments on commit f8317be

Please sign in to comment.