File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ protected function fetchAssoc()
141141 *
142142 * Overridden by child classes.
143143 *
144- * @return bool| Entity|object
144+ * @return Entity|false| object|stdClass
145145 */
146146 protected function fetchObject (string $ className = 'stdClass ' )
147147 {
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ protected function fetchAssoc()
9292 *
9393 * Overridden by child classes.
9494 *
95- * @return bool| Entity|object
95+ * @return Entity|false| object|stdClass
9696 */
9797 protected function fetchObject (string $ className = 'stdClass ' )
9898 {
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ protected function fetchAssoc()
107107 *
108108 * Overridden by child classes.
109109 *
110- * @return bool| Entity|object
110+ * @return Entity|false| object|stdClass
111111 */
112112 protected function fetchObject (string $ className = 'stdClass ' )
113113 {
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ protected function fetchAssoc()
147147 /**
148148 * Returns the result set as an object.
149149 *
150- * @return bool| Entity|object
150+ * @return Entity|false| object|stdClass
151151 */
152152 protected function fetchObject (string $ className = 'stdClass ' )
153153 {
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ protected function fetchAssoc()
124124 *
125125 * Overridden by child classes.
126126 *
127- * @return bool| object
127+ * @return Entity|false| object|stdClass
128128 */
129129 protected function fetchObject (string $ className = 'stdClass ' )
130130 {
Original file line number Diff line number Diff line change 1212namespace CodeIgniter \Test \Mock ;
1313
1414use CodeIgniter \Database \BaseResult ;
15+ use stdClass ;
1516
1617/**
1718 * @extends BaseResult<object|resource, object|resource>
@@ -82,7 +83,7 @@ protected function fetchAssoc()
8283 *
8384 * @param string $className
8485 *
85- * @return object
86+ * @return object|stdClass
8687 */
8788 protected function fetchObject ($ className = 'stdClass ' )
8889 {
You can’t perform that action at this time.
0 commit comments