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 9, 2022
1 parent 7a0c791 commit cc67042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct()
*
* @throws ExternalLycheeException
*/
public function handle(Exec $exec): int
public function handle(): int
{
try {
$directory = $this->argument('dir');
Expand Down

0 comments on commit cc67042

Please sign in to comment.