Skip to content

Commit 9115dd0

Browse files
author
Wout Gevaert
committed
minor bugfix in ErrorTextHelper::getUserInputInfo
1 parent 91dfa12 commit 9115dd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ErrorHandling/ErrorTextHelper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public static function getUserInputInfo($userInput) : string {
2222
if ( $info === 'object' ) {
2323
$info = get_class( $userInput );
2424
} else {
25-
$givenType .= ' "' . (string) $userInput . '"';
25+
$info .= ' "' . (string) $userInput . '"';
2626
}
27+
return $info;
2728
}
2829
}

0 commit comments

Comments
 (0)