Skip to content

Commit

Permalink
Get rid of a deprecated trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-mironchik committed Mar 8, 2020
1 parent de65b23 commit 8ebe493
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-backup-panel` will be documented in this file

## 1.4.0 - 2020-03-08

- add support for Laravel 7

## 1.3.1 - 2020-02-16

- allow to use a custom queue
Expand Down
5 changes: 1 addition & 4 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@
namespace PavelMironchik\LaravelBackupPanel\Console;

use Illuminate\Console\Command;
use Illuminate\Console\DetectsApplicationNamespace;
use Illuminate\Support\Str;

class InstallCommand extends Command
{
use DetectsApplicationNamespace;

/**
* The name and signature of the console command.
*
Expand Down Expand Up @@ -57,7 +54,7 @@ public function handle()

protected function registerServiceProvider()
{
$namespace = Str::replaceLast('\\', '', $this->getAppNamespace());
$namespace = Str::replaceLast('\\', '', $this->laravel->getNamespace());

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

Expand Down

0 comments on commit 8ebe493

Please sign in to comment.