Skip to content

Commit ea75c03

Browse files
committed
revert: go back to only using fwrite
1 parent c841eec commit ea75c03

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Lambda/Handler/Sqs/AbstractIlluminateQueueSqsHandler.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ final protected function processRecord(InvocationContext $context, SqsRecord $re
9393
*/
9494
protected function writeProcessOutput(string $type, string $output): void
9595
{
96-
$stream = Process::ERR === $type ? STDERR : STDOUT;
97-
98-
fwrite($stream, $output);
99-
fflush($stream);
96+
fwrite(Process::ERR === $type ? STDERR : STDOUT, $output);
10097
}
10198

10299
/**

0 commit comments

Comments
 (0)