@@ -18,7 +18,7 @@ trait InteractsWithDatabase
18
18
/**
19
19
* Assert that a given where condition exists in the database.
20
20
*
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
22
22
* @param array<string, mixed> $data
23
23
* @param string|null $connection
24
24
* @return $this
@@ -50,7 +50,7 @@ protected function assertDatabaseHas($table, array $data = [], $connection = nul
50
50
/**
51
51
* Assert that a given where condition does not exist in the database.
52
52
*
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
54
54
* @param array<string, mixed> $data
55
55
* @param string|null $connection
56
56
* @return $this
@@ -117,7 +117,7 @@ protected function assertDatabaseEmpty($table, $connection = null)
117
117
/**
118
118
* Assert the given record has been "soft deleted".
119
119
*
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
121
121
* @param array<string, mixed> $data
122
122
* @param string|null $connection
123
123
* @param string|null $deletedAtColumn
@@ -157,7 +157,7 @@ protected function assertSoftDeleted($table, array $data = [], $connection = nul
157
157
/**
158
158
* Assert the given record has not been "soft deleted".
159
159
*
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
161
161
* @param array<string, mixed> $data
162
162
* @param string|null $connection
163
163
* @param string|null $deletedAtColumn
@@ -197,7 +197,7 @@ protected function assertNotSoftDeleted($table, array $data = [], $connection =
197
197
/**
198
198
* Assert the given model exists in the database.
199
199
*
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
201
201
* @return $this
202
202
*/
203
203
protected function assertModelExists ($ model )
@@ -208,7 +208,7 @@ protected function assertModelExists($model)
208
208
/**
209
209
* Assert the given model does not exist in the database.
210
210
*
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
212
212
* @return $this
213
213
*/
214
214
protected function assertModelMissing ($ model )
0 commit comments