File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function first(callable $callback = null)
200
200
* @template U of T|mixed
201
201
* @param ?callable(T, int, static): bool $callback
202
202
* @param U $fallbackValue
203
- * @return U
203
+ * @return U|T
204
204
* @throws InvalidArgumentException
205
205
*/
206
206
public function firstOr (callable $ callback = null , mixed $ fallbackValue = null )
@@ -250,7 +250,7 @@ public function last(callable $callback = null)
250
250
* @template U of T|mixed
251
251
* @param ?callable(T, int, static): bool $callback
252
252
* @param U $fallbackValue
253
- * @return U
253
+ * @return U|T
254
254
* @throws InvalidArgumentException
255
255
*/
256
256
public function lastOr (callable $ callback = null , mixed $ fallbackValue = null )
You can’t perform that action at this time.
0 commit comments