Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheAdams committed Mar 24, 2023
2 parents a79536d + e79e2f9 commit cc5213d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Rules/OptionalUnless.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
class OptionalUnless extends ConditionalRule
{
/**
* @since 1.2.2 correct id
* @since 1.2.0
*/
public static function id(): string
{
return 'optionalIf';
return 'optionalUnless';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/ValidationRulesRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function register(string ...$rules): self
/**
* Register a validation rule.
*
* @unreleased switch to throwing InvalidArgumentException from Config
* @since 1.2.1 switch to throwing InvalidArgumentException from Config
* @since 1.0.0
*/
private function registerClass(string $class): self
Expand Down

0 comments on commit cc5213d

Please sign in to comment.