From 8b081dfce7499f9cecfb4190ba034be8e2bdf465 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Thu, 14 Dec 2023 16:38:01 +0800 Subject: [PATCH] * Adjust method return value type for gitlab getByID. --- module/gitlab/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/gitlab/model.php b/module/gitlab/model.php index 2c52fed718..bf9068b9d4 100644 --- a/module/gitlab/model.php +++ b/module/gitlab/model.php @@ -29,9 +29,9 @@ class gitlabModel extends model * * @param int $id * @access public - * @return object + * @return object|false */ - public function getByID(int $id): object + public function getByID(int $id): object|false { return $this->loadModel('pipeline')->getByID($id); }