Commit version 24.12.13800
This commit is contained in:
@ -77,7 +77,7 @@ class Argument extends Memoize {
|
||||
* @return bool
|
||||
*/
|
||||
public function isLong() {
|
||||
return (0 == strncmp($this->_raw, '--', 2));
|
||||
return (0 == strncmp((string)$this->_raw, '--', 2));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -86,7 +86,7 @@ class Argument extends Memoize {
|
||||
* @return bool
|
||||
*/
|
||||
public function isShort() {
|
||||
return !$this->isLong && (0 == strncmp($this->_raw, '-', 1));
|
||||
return !$this->isLong && (0 == strncmp((string)$this->_raw, '-', 1));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user