Skip to content

Commit

Permalink
Make force optional.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jan 26, 2020
1 parent 571511f commit 82f6a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trait CodeGenerator
*
* @return mixed
*/
public function generateCode(bool $force)
public function generateCode(bool $force = false)
{
return $this->resolveGeneratesCodeProcessor()(
$this->generatorName(), $force
Expand Down

0 comments on commit 82f6a05

Please sign in to comment.