1
0
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:
Jordi Boggiano
2022-04-24 11:17:17 +02:00
parent 6627c092d8
commit bd5968a567
27 changed files with 52 additions and 31 deletions

View File

@@ -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');
}