Skip to content

Commit a4b4ff3

Browse files
committed
Support for assertInternalType('is_scalar', ...)
1 parent 193c0fa commit a4b4ff3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Type/PHPUnit/Assert/AssertTypeSpecifyingExtensionHelper.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ private static function getExpressionResolvers(): array
177177
$functionName = 'is_bool';
178178
break;
179179

180+
case 'scalar':
181+
$functionName = 'is_scalar';
182+
break;
183+
180184
case 'null':
181185
$functionName = 'is_null';
182186
break;

0 commit comments

Comments
 (0)