@@ -67,7 +67,7 @@ public function testSelectCollectionInheritsOptions()
6767 $ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
6868 $ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
6969 $ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
70- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
70+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
7171 $ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
7272 $ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
7373 $ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
@@ -90,7 +90,7 @@ public function testSelectCollectionPassesOptions()
9090 $ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
9191 $ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
9292 $ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
93- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
93+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
9494 $ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
9595 $ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
9696 $ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
@@ -129,7 +129,7 @@ public function testSelectDatabaseInheritsOptions()
129129 $ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
130130 $ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
131131 $ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
132- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
132+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
133133 $ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
134134 $ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
135135 $ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
@@ -152,7 +152,7 @@ public function testSelectDatabasePassesOptions()
152152 $ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
153153 $ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
154154 $ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
155- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
155+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
156156 $ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
157157 $ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
158158 $ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
0 commit comments