Skip to content

Commit

Permalink
Fixes a bug from the IDE helper package. (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox committed Dec 24, 2022
1 parent 3f9f2cf commit 2204807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Facades/Features.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Features extends Facade
* Replace the bound instance with a fake.
* @param array<string, bool|array> $flagsToFake
*/
public static function fake(array $flagsToFake): FeatureFake
public static function fake(array $flagsToFake = []): FeatureFake
{
static::swap($fake = new FeatureFake(static::getFacadeRoot(), $flagsToFake));

Expand Down

0 comments on commit 2204807

Please sign in to comment.