We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f439b2e commit 340db05Copy full SHA for 340db05
src/Attribute.php
@@ -182,7 +182,7 @@ public function setRequired(bool $required)
182
*/
183
public function isRequired(): bool
184
{
185
- return $this->required === true;
+ return $this->required;
186
}
187
188
/**
src/Rule.php
@@ -152,7 +152,7 @@ public function parameter(string $key)
152
153
public function isImplicit(): bool
154
155
- return $this->implicit === true;
+ return $this->implicit;
156
157
158
0 commit comments