We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3aae4e commit 142fc6bCopy full SHA for 142fc6b
examples/worker/parent.php
@@ -18,8 +18,8 @@
18
$execution2->getFuture(),
19
]);
20
21
-print strlen($bodies[0]) . PHP_EOL;
22
-print strlen($bodies[1]) . PHP_EOL;
+print ((string) strlen($bodies[0])) . PHP_EOL;
+print ((string) strlen($bodies[1])) . PHP_EOL;
23
24
print PHP_EOL;
25
print 'Took ' . (microtime(true) - $start) . ' seconds' . PHP_EOL;
psalm.xml
@@ -2,6 +2,7 @@
2
<psalm
3
errorLevel="2"
4
phpVersion="8.1"
5
+ findUnusedBaselineEntry="true"
6
resolveFromConfigFile="true"
7
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
xmlns="https://getpsalm.org/schema/config"
0 commit comments