CS Complaining about not uisng $this->assertInternalType('object', $scanner);

This commit is contained in:
MarkBaker 2018-11-25 14:41:11 +01:00
parent 14159d985c
commit 3abb7ccb35
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class XmlScannerTest extends TestCase
$scanner = $fileReader->getSecuritySCanner(); $scanner = $fileReader->getSecuritySCanner();
// Must return an object... // Must return an object...
$this->assertTrue(is_object($scanner)); $this->assertInternalType('object', $scanner);
// ... of the correct type // ... of the correct type
$this->assertInstanceOf(XmlScanner::class, $scanner); $this->assertInstanceOf(XmlScanner::class, $scanner);
} }