Skip to content

Commit 3abb7cc

Browse files
author
MarkBaker
committed
CS Complaining about not uisng $this->assertInternalType('object', $scanner);
1 parent 14159d9 commit 3abb7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function testGetSecurityScannerForXmlBasedReader()
6363
$scanner = $fileReader->getSecuritySCanner();
6464

6565
// Must return an object...
66-
$this->assertTrue(is_object($scanner));
66+
$this->assertInternalType('object', $scanner);
6767
// ... of the correct type
6868
$this->assertInstanceOf(XmlScanner::class, $scanner);
6969
}

0 commit comments

Comments
 (0)