Skip to content

Commit 142fc6b

Browse files
committed
Fixes
1 parent e3aae4e commit 142fc6b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/worker/parent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
$execution2->getFuture(),
1919
]);
2020

21-
print strlen($bodies[0]) . PHP_EOL;
22-
print strlen($bodies[1]) . PHP_EOL;
21+
print ((string) strlen($bodies[0])) . PHP_EOL;
22+
print ((string) strlen($bodies[1])) . PHP_EOL;
2323

2424
print PHP_EOL;
2525
print 'Took ' . (microtime(true) - $start) . ' seconds' . PHP_EOL;

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<psalm
33
errorLevel="2"
44
phpVersion="8.1"
5+
findUnusedBaselineEntry="true"
56
resolveFromConfigFile="true"
67
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
78
xmlns="https://getpsalm.org/schema/config"

0 commit comments

Comments
 (0)