CS Complaining about not uisng $this->assertInternalType('object', $scanner);
This commit is contained in:
parent
14159d985c
commit
3abb7ccb35
|
@ -63,7 +63,7 @@ class XmlScannerTest extends TestCase
|
|||
$scanner = $fileReader->getSecuritySCanner();
|
||||
|
||||
// Must return an object...
|
||||
$this->assertTrue(is_object($scanner));
|
||||
$this->assertInternalType('object', $scanner);
|
||||
// ... of the correct type
|
||||
$this->assertInstanceOf(XmlScanner::class, $scanner);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue