Skip to content

Commit 340db05

Browse files
committed
Just removes === true from boolean returns
1 parent f439b2e commit 340db05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function setRequired(bool $required)
182182
*/
183183
public function isRequired(): bool
184184
{
185-
return $this->required === true;
185+
return $this->required;
186186
}
187187

188188
/**

src/Rule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function parameter(string $key)
152152
*/
153153
public function isImplicit(): bool
154154
{
155-
return $this->implicit === true;
155+
return $this->implicit;
156156
}
157157

158158
/**

0 commit comments

Comments
 (0)