Skip to content

Commit

Permalink
Remove illuminate/console dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidgh83 committed Nov 12, 2023
1 parent c258900 commit 24d782e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"require": {
"php": "^7.4|^8.0",
"illuminate/console": "^8.83|^9.0",
"illuminate/contracts": "^8.83|^9.0",
"illuminate/database": "^8.83|^9.0",
"illuminate/support": "^8.83|^9.0",
Expand Down
13 changes: 7 additions & 6 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
namespace Jetcod\LaravelRepository;

use Illuminate\Support\ServiceProvider as IlluminateServiceProvider;
use Jetcod\LaravelRepository\Console\RepositoryMakeCommand;

// use Jetcod\LaravelRepository\Console\RepositoryMakeCommand;

class ServiceProvider extends IlluminateServiceProvider
{
Expand All @@ -12,11 +13,11 @@ class ServiceProvider extends IlluminateServiceProvider
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->commands([
RepositoryMakeCommand::class,
]);
}
// if ($this->app->runningInConsole()) {
// $this->commands([
// RepositoryMakeCommand::class,
// ]);
// }
}

/**
Expand Down

0 comments on commit 24d782e

Please sign in to comment.