From ce4acad74ec171ddc5387fe2c184d7b3ca5d459b Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Mon, 8 Jul 2024 16:47:29 -0700 Subject: [PATCH] Fix typehint typo --- classes/press/FeatureDAO.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/press/FeatureDAO.php b/classes/press/FeatureDAO.php index b957d59662..198cc10734 100644 --- a/classes/press/FeatureDAO.php +++ b/classes/press/FeatureDAO.php @@ -162,10 +162,10 @@ public function getFeaturedAll(int $monographId): array * @param $assocType The monograph associated object type. * @param $assocId The monograph associated object id. * - * @return int|boolean The monograph sequence position or false if no + * @return int|bool The monograph sequence position or false if no * monograph feature is set. */ - public function getSequencePosition(int $monographId, int $assocType, int $assocId): int|boolean + public function getSequencePosition(int $monographId, int $assocType, int $assocId): int|bool { $result = $this->retrieve( 'SELECT seq FROM features WHERE submission_id = ? AND assoc_type = ? AND assoc_id = ?',