Skip to content

Commit

Permalink
Merge pull request #413 from bomshteyn/patch-1
Browse files Browse the repository at this point in the history
Fixing Bug: BreezyCore::getForceTwoFactorAuthentication(): Return value must be of type bool, null returned
  • Loading branch information
jeffgreco13 authored Feb 1, 2025
2 parents 2265bc2 + 336104a commit 77cadfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BreezyCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public function enableTwoFactorAuthentication(bool $condition = true, bool|Closu
return $this;
}

public function getForceTwoFactorAuthentication(): bool
public function getForceTwoFactorAuthentication(): ?bool
{
return $this->evaluate($this->forceTwoFactorAuthentication);
}
Expand Down

0 comments on commit 77cadfc

Please sign in to comment.