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 (#1319)

Fixes #1318

Getting the following exception:

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

when running:

```
php artisan lychee:sync myfolder
```
  • Loading branch information
mederel authored May 10, 2022
1 parent 7a0c791 commit 2fdd6bc
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 2fdd6bc

Please sign in to comment.