Skip to content

Commit 62b7874

Browse files
ISSUE #1561: Added withStreamsWereImported to ActivityImportContext
1 parent c657648 commit 62b7874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Console/ConsoleOutputSnapshotDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function serialize($data): string
1313
{
1414
$data = (string) $data
1515
|> (fn ($str): string => str_replace([' ', '-'], '', $str))
16-
|> (fn ($str): string => preg_replace('/PHP(\d+\.\d+)\.\d+/', 'PHP$1.x', $str))
16+
|> (fn ($str): string => preg_replace('/PHP(\d+\.\d+)\.\d+/', 'PHP$1.x', (string) $str))
1717
|> (fn ($str): ?string => preg_replace('~\S*/([^/]+\.yaml)~', '$1', (string) $str));
1818

1919
return parent::serialize($data);

0 commit comments

Comments
 (0)