We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77c02bf commit 696bdd3Copy full SHA for 696bdd3
1 file changed
tests/Database/Format.php
@@ -21,7 +21,7 @@ class Format extends Text
21
*
22
* @return string
23
*/
24
- public function getDescription()
+ public function getDescription(): string
25
{
26
return 'Value must be a valid email address';
27
}
@@ -34,7 +34,7 @@ public function getDescription()
34
* @param mixed $value
35
* @return bool
36
37
- public function isValid($value)
+ public function isValid($value): bool
38
39
if (!\filter_var($value, FILTER_VALIDATE_EMAIL)) {
40
return false;
0 commit comments