Skip to content

Commit a8d87fe

Browse files
committed
Fix merge.
1 parent 0e79af0 commit a8d87fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/CheckTypeDeclarationsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ private function checkType(Definition $checkedDefinition, $value, \ReflectionPar
287287
$checkFunction = sprintf('is_%s', $type);
288288

289289
if (!$reflectionType->isBuiltin() || !$checkFunction($value)) {
290-
throw new InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \gettype($value), $parameter);
290+
throw new InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : get_debug_type($value), $parameter);
291291
}
292292
}
293293

0 commit comments

Comments
 (0)