Skip to content

Commit

Permalink
fix: parameter message with no type specified
Browse files Browse the repository at this point in the history
  • Loading branch information
SonyPradana committed Jan 23, 2024
1 parent 6773f41 commit 455e325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messages/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class Message implements \ArrayAccess, ValidationPropertyInterface
*
* @return void
*/
public function __set($rule, $message)
public function __set(string $rule, string $message)
{
$this->set($rule, $message);
}
Expand Down

0 comments on commit 455e325

Please sign in to comment.