Make a use of NULL operator.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-03-30 19:52:51 +01:00
parent 4f6be2234e
commit 629484fcf6
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class StringTokenizer {
}
public bool hasMoreTokens() {
return $this->token ? true : false;
return ($this->token != NULL);
}
public string nextToken() {