@@ -16,7 +16,7 @@ trait BuilderReturning
1616 /**
1717 * Delete records from the database.
1818 *
19- * @return \Illuminate\Support\ Collection<int, object>
19+ * @return Collection<int, object>
2020 */
2121 public function deleteReturning (mixed $ id = null , array $ returning = ['* ' ]): Collection
2222 {
@@ -44,7 +44,7 @@ public function deleteReturning(mixed $id = null, array $returning = ['*']): Col
4444 /**
4545 * Insert new records into the database while ignoring errors.
4646 *
47- * @return \Illuminate\Support\ Collection<int, object>
47+ * @return Collection<int, object>
4848 */
4949 public function insertOrIgnoreReturning (array $ values , array $ returning = ['* ' ]): Collection
5050 {
@@ -80,7 +80,7 @@ public function insertOrIgnoreReturning(array $values, array $returning = ['*'])
8080 /**
8181 * Insert new records into the database.
8282 *
83- * @return \Illuminate\Support\ Collection<int, object>
83+ * @return Collection<int, object>
8484 */
8585 public function insertReturning (array $ values , array $ returning = ['* ' ]): Collection
8686 {
@@ -128,7 +128,7 @@ public function insertReturning(array $values, array $returning = ['*']): Collec
128128 *
129129 * @param \Closure|\Illuminate\Contracts\Database\Query\Builder|string $query
130130 *
131- * @return \Illuminate\Support\ Collection<int, object>
131+ * @return Collection<int, object>
132132 */
133133 public function insertUsingReturning (array $ columns , $ query , array $ returning = ['* ' ]): Collection
134134 {
@@ -153,7 +153,7 @@ public function insertUsingReturning(array $columns, $query, array $returning =
153153 /**
154154 * Update records in a PostgreSQL database using the update from syntax.
155155 *
156- * @return \Illuminate\Support\ Collection<int, object>
156+ * @return Collection<int, object>
157157 */
158158 public function updateFromReturning (array $ values , array $ returning = ['* ' ]): Collection
159159 {
@@ -176,7 +176,7 @@ public function updateFromReturning(array $values, array $returning = ['*']): Co
176176 /**
177177 * Insert or update a record matching the attributes, and fill it with values.
178178 *
179- * @return \Illuminate\Support\ Collection<int, object>
179+ * @return Collection<int, object>
180180 */
181181 public function updateOrInsertReturning (array $ attributes , array $ values = [], array $ returning = ['* ' ]): Collection
182182 {
@@ -194,7 +194,7 @@ public function updateOrInsertReturning(array $attributes, array $values = [], a
194194 /**
195195 * Update records in the database.
196196 *
197- * @return \Illuminate\Support\ Collection<int, object>
197+ * @return Collection<int, object>
198198 */
199199 public function updateReturning (array $ values , array $ returning = ['* ' ]): Collection
200200 {
@@ -217,7 +217,7 @@ public function updateReturning(array $values, array $returning = ['*']): Collec
217217 /**
218218 * Insert new records or update the existing ones.
219219 *
220- * @return \Illuminate\Support\ Collection<int, object>
220+ * @return Collection<int, object>
221221 */
222222 public function upsertReturning (array $ values , array |string $ uniqueBy , ?array $ update = null , array $ returning = ['* ' ]): Collection
223223 {
0 commit comments