From b9fb8d789151317fa3cb9a62433773d3b681c883 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Wed, 21 Aug 2024 14:05:19 +0200 Subject: [PATCH] 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 --- src/infrastructure/parser/PhutilURIHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/parser/PhutilURIHelper.php b/src/infrastructure/parser/PhutilURIHelper.php index a43fafe576..2ead1b1403 100644 --- a/src/infrastructure/parser/PhutilURIHelper.php +++ b/src/infrastructure/parser/PhutilURIHelper.php @@ -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; -- 2.51.2