mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-29 19:49:34 +00:00
improving types
This commit is contained in:
+1
-5
@@ -40,11 +40,7 @@ class EmailParser
|
||||
$this->lexer = $lexer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $str
|
||||
* @return Result
|
||||
*/
|
||||
public function parse($str) : Result
|
||||
public function parse(string $str) : Result
|
||||
{
|
||||
$this->lexer->setInput($str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user