Skip to content

Commit e3383e6

Browse files
committed
Applied new CS rules
1 parent 071c3fa commit e3383e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/delayed-time.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
for ($i = 1; $i < 31; $i++) {
1010
$delay = $i;
11-
echo \time(), ': ', $delay, PHP_EOL;
11+
echo \time(), ': ', $delay, \PHP_EOL;
1212
childProcessPromiseClosure($loop, function () use ($delay) {
1313
\sleep($delay * 2);
1414

1515
return ['time'=>\time()];
1616
})->done(function ($time): void {
17-
echo \time(), ': ', $time['time'], PHP_EOL;
17+
echo \time(), ': ', $time['time'], \PHP_EOL;
1818
}, function (Throwable $throwable): void {
1919
echo (string)$throwable;
2020
});

examples/time.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
childProcessPromiseClosure($loop, function () {
1010
return ['time'=>\time()];
1111
})->done(function ($time): void {
12-
echo $time['time'], PHP_EOL;
12+
echo $time['time'], \PHP_EOL;
1313
}, function (Throwable $throwable): void {
1414
echo (string)$throwable;
1515
});

0 commit comments

Comments
 (0)