Make a use of NULL operator.
All checks were successful
The build was successful.

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

View File

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