Skip to content

Commit

Permalink
php artisan lychee:sync failing with Unresolvable dependency resolvin…
Browse files Browse the repository at this point in the history
…g bool $enableCLIFormatting

fixes LycheeOrg#1318

Getting the following exception:

```
Unresolvable dependency resolving [Parameter LycheeOrg#1 [ <required> bool $enableCLIFormatting ]] in class App\Actions\Import\Exec
```

when running:

```
php artisan lychee:sync myfolder
```
  • Loading branch information
mederel committed May 10, 2022
1 parent 7a0c791 commit c87d9b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Console/Commands/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ public function __construct()
/**
* Execute the console command.
*
* @param Exec $exec
*
* @return int
*
* @throws ExternalLycheeException
*/
public function handle(Exec $exec): int
public function handle(): int
{
try {
$directory = $this->argument('dir');
Expand Down

0 comments on commit c87d9b4

Please sign in to comment.