File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
docs/includes/query-builder Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 77use Carbon \Carbon ;
88use Illuminate \Database \Query \Builder ;
99use Illuminate \Pagination \AbstractPaginator ;
10- use Illuminate \Support \Collection as LaravelCollection ;
1110use Illuminate \Support \Facades \DB ;
1211use MongoDB \BSON \ObjectId ;
1312use MongoDB \BSON \Regex ;
@@ -291,7 +290,7 @@ public function testCountByGroup(): void
291290 ->countByGroup ();
292291 // end count by group
293292
294- $ this ->assertIsArray ( $ result );
293+ $ this ->assertInstanceOf (\ Illuminate \ Support \Collection::class, $ result );
295294 }
296295
297296 public function testSumByGroup (): void
@@ -303,7 +302,7 @@ public function testSumByGroup(): void
303302 ->sumByGroup ('awards.wins ' );
304303 // end sum by group
305304
306- $ this ->assertIsArray ( $ result );
305+ $ this ->assertInstanceOf (\ Illuminate \ Support \Collection::class, $ result );
307306 }
308307
309308 public function testOrderBy (): void
You can’t perform that action at this time.
0 commit comments