Skip to content

Commit

Permalink
Advertise return annotations from doctrine/lexer (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas authored and Eduardo Gulias Davis committed Aug 13, 2019
1 parent a6c8d71 commit 92dd169
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
sudo: false

dist: trusty

language: php

php:
Expand Down
6 changes: 6 additions & 0 deletions EmailValidator/EmailLexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public function __construct()
$this->previous = $this->token = self::$nullToken;
}

/**
* @return void
*/
public function reset()
{
$this->hasInvalidTokens = false;
Expand Down Expand Up @@ -228,6 +231,9 @@ protected function isUTF8Invalid($value)
return false;
}

/**
* @return string
*/
protected function getModifiers()
{
return 'iu';
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "2.1.x-dev"
}
},
"repositories": [
Expand Down

0 comments on commit 92dd169

Please sign in to comment.