Skip to content

Commit ab76a52

Browse files
authored
Update InteractsWithDatabase.php (#56666)
1 parent bbc66da commit ab76a52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ trait InteractsWithDatabase
1818
/**
1919
* Assert that a given where condition exists in the database.
2020
*
21-
* @param \Illuminate\Database\Eloquent\Model[]|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
21+
* @param iterable<\Illuminate\Database\Eloquent\Model>|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
2222
* @param array<string, mixed> $data
2323
* @param string|null $connection
2424
* @return $this
@@ -50,7 +50,7 @@ protected function assertDatabaseHas($table, array $data = [], $connection = nul
5050
/**
5151
* Assert that a given where condition does not exist in the database.
5252
*
53-
* @param \Illuminate\Database\Eloquent\Model[]|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
53+
* @param iterable<\Illuminate\Database\Eloquent\Model>|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
5454
* @param array<string, mixed> $data
5555
* @param string|null $connection
5656
* @return $this
@@ -117,7 +117,7 @@ protected function assertDatabaseEmpty($table, $connection = null)
117117
/**
118118
* Assert the given record has been "soft deleted".
119119
*
120-
* @param \Illuminate\Database\Eloquent\Model[]|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
120+
* @param iterable<\Illuminate\Database\Eloquent\Model>|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
121121
* @param array<string, mixed> $data
122122
* @param string|null $connection
123123
* @param string|null $deletedAtColumn
@@ -157,7 +157,7 @@ protected function assertSoftDeleted($table, array $data = [], $connection = nul
157157
/**
158158
* Assert the given record has not been "soft deleted".
159159
*
160-
* @param \Illuminate\Database\Eloquent\Model[]|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
160+
* @param iterable<\Illuminate\Database\Eloquent\Model>|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $table
161161
* @param array<string, mixed> $data
162162
* @param string|null $connection
163163
* @param string|null $deletedAtColumn
@@ -197,7 +197,7 @@ protected function assertNotSoftDeleted($table, array $data = [], $connection =
197197
/**
198198
* Assert the given model exists in the database.
199199
*
200-
* @param \Illuminate\Database\Eloquent\Model[]|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $model
200+
* @param iterable<\Illuminate\Database\Eloquent\Model>|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $model
201201
* @return $this
202202
*/
203203
protected function assertModelExists($model)
@@ -208,7 +208,7 @@ protected function assertModelExists($model)
208208
/**
209209
* Assert the given model does not exist in the database.
210210
*
211-
* @param \Illuminate\Database\Eloquent\Model[]|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $model
211+
* @param iterable<\Illuminate\Database\Eloquent\Model>|\Illuminate\Database\Eloquent\Model|class-string<\Illuminate\Database\Eloquent\Model>|string $model
212212
* @return $this
213213
*/
214214
protected function assertModelMissing($model)

0 commit comments

Comments
 (0)