Skip to content

Commit d1934d4

Browse files
committed
Ensuring all arguments are strings
1 parent a49f5d3 commit d1934d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Formatter/Formatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public function onAfterStepTested(BehatEvent\AfterStepTested $event)
307307
$arguments = [];
308308
foreach ($result->getSearchResult()->getMatchedArguments() as $argument) {
309309
$a = new \stdClass();
310-
$a->val = $argument;
310+
$a->val = (string) $argument;
311311
$arguments[] = $a;
312312
}
313313
if ($arguments) {

0 commit comments

Comments
 (0)