mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-16 10:04:14 +02:00
Add missing types to constructor args
This commit is contained in:
@@ -18,7 +18,7 @@ class MongoDBHandlerTest extends TestCase
|
||||
{
|
||||
public function testConstructorShouldThrowExceptionForInvalidMongo()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->expectException(\TypeError::class);
|
||||
|
||||
new MongoDBHandler(new \stdClass, 'db', 'collection');
|
||||
}
|
||||
|
Reference in New Issue
Block a user