Skip to content

Commit 0753efb

Browse files
committed
refactor: Replace assertInternalType for assertIsArray
1 parent eb41326 commit 0753efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Constraints/TypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private function assertTypeConstraintError($expected, TypeConstraint $actual)
8080

8181
$actualError = $actualErrors[0];
8282

83-
$this->assertInternalType('array', $actualError, sprintf('Failed to assert that Type error is an array, %s given', gettype($actualError)));
83+
$this->assertIsArray($actualError, sprintf('Failed to assert that Type error is an array, %s given', gettype($actualError)));
8484

8585
$messageKey = 'message';
8686
$this->assertArrayHasKey(

0 commit comments

Comments
 (0)