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
  • Loading branch information
mederel committed May 9, 2022
1 parent 7a0c791 commit fdf34f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Actions/Import/Exec.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Exec
* @param bool $enableCLIFormatting determines whether the output shall be formatted for CLI or as JSON
* @param int $memLimit the threshold when a memory warning shall be reported; `0` means unlimited
*/
public function __construct(ImportMode $importMode, bool $enableCLIFormatting, int $memLimit = 0)
public function __construct(ImportMode $importMode, bool $enableCLIFormatting = true, int $memLimit = 0)
{
Session::forget('cancel');
$this->importMode = $importMode;
Expand Down

0 comments on commit fdf34f8

Please sign in to comment.