Skip to content

Commit c630163

Browse files
committed
fix: shorten "boolean" to "bool" as type
1 parent 1372edd commit c630163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Helper/UserDataHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function setEmail(string $email): bool
4949
* "+1-123-4567890" for USA or\
5050
* "+44-1234-5678900" for UK or\
5151
* "+45-12345678" for DK
52-
* @return boolean
52+
* @return bool
5353
*/
5454
public function setPhone(int $number): bool
5555
{
@@ -139,7 +139,7 @@ public function setCountry(string $iso): bool
139139
}
140140

141141
$this->country = mb_strtoupper(trim($iso));
142-
return false;
142+
return true;
143143
}
144144

145145
public function toArray(): array

0 commit comments

Comments
 (0)