1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +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:
Andre Klapper 2024-08-21 14:05:19 +02:00
parent b44b566b13
commit b9fb8d7891

View file

@ -69,7 +69,7 @@ final class PhutilURIHelper extends Phobject {
/**
* Check whenever the URI starts with the provided character.
* @param string $char String that MUST have length of 1.
* @return boolean
* @return bool
*/
private function isStartingWithChar($char) {
return strncmp($this->uriStr, $char, 1) === 0;