Skip to content

Commit

Permalink
More refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Dec 31, 2022
1 parent e1f46cf commit 9830cc3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Commands/IseedAllCommand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Commands;
namespace Cheesegrits\Iseed\Commands;

use Illuminate\Console\Command;
use function Cheesegrits\Iseed\env;
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/Iseed.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace src\Facades;
namespace Cheesegrits\Iseed\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
7 changes: 3 additions & 4 deletions src/IseedServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

namespace Cheesegrits\Iseed;

use Commands\IseedAllCommand;
use Commands\IseedCommand;
use Cheesegrits\Iseed\Commands\IseedAllCommand;
use Cheesegrits\Iseed\Commands\IseedCommand;
use Illuminate\Support\ServiceProvider;
use src\Facades\Iseed;

class IseedServiceProvider extends ServiceProvider
{
Expand Down Expand Up @@ -50,7 +49,7 @@ public function register()
$this->app->booting(
function () {
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
$loader->alias('Iseed', 'src\Facades\Iseed');
$loader->alias('Iseed', 'Cheesgrits\Iseed\Facades\Iseed');
}
);

Expand Down

0 comments on commit 9830cc3

Please sign in to comment.