diff --git a/src/Commands/stubs/rule.stub b/src/Commands/stubs/rule.stub index 9b716321e..4bd15dd4b 100644 --- a/src/Commands/stubs/rule.stub +++ b/src/Commands/stubs/rule.stub @@ -8,8 +8,6 @@ class $CLASS$ implements Rule { /** * Create a new rule instance. - * - * @return void */ public function __construct() { @@ -18,22 +16,16 @@ class $CLASS$ implements Rule /** * Determine if the validation rule passes. - * - * @param string $attribute - * @param mixed $value - * @return bool */ - public function passes($attribute, $value) + public function passes(string $attribute, $value): bool { // } /** * Get the validation error message. - * - * @return string */ - public function message() + public function message(): string { return 'The validation error message.'; }