mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-12 18:02:40 +01:00
Replace invalid PHPDoc @return type boolean with bool
Summary: `@return boolean` is not a valid type thus use `@return bool`. Test Plan: None. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25795
This commit is contained in:
parent
b44b566b13
commit
b9fb8d7891
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ final class PhutilURIHelper extends Phobject {
|
||||||
/**
|
/**
|
||||||
* Check whenever the URI starts with the provided character.
|
* Check whenever the URI starts with the provided character.
|
||||||
* @param string $char String that MUST have length of 1.
|
* @param string $char String that MUST have length of 1.
|
||||||
* @return boolean
|
* @return bool
|
||||||
*/
|
*/
|
||||||
private function isStartingWithChar($char) {
|
private function isStartingWithChar($char) {
|
||||||
return strncmp($this->uriStr, $char, 1) === 0;
|
return strncmp($this->uriStr, $char, 1) === 0;
|
||||||
|
|
Loading…
Reference in a new issue