Skip to content

Commit 45e9454

Browse files
k0kagithub-actions[bot]
authored andcommitted
Apply php-cs-fixer changes
1 parent ba2a215 commit 45e9454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/Error/Builder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ public function str(MessageInterface $message, int $verbosity = 0): string
9999
}
100100

101101
$contentType = strtolower($message->getHeaderLine('content-type'));
102-
if (strpos($contentType, 'application/json') !== false) {
102+
if (false !== strpos($contentType, 'application/json')) {
103103
$body = $message->getBody()->read(self::MAX_BODY_LENGTH);
104104
$msg .= "\r\n\r\n".$body;
105-
if ($message->getBody()->read(1) !== '') {
105+
if ('' !== $message->getBody()->read(1)) {
106106
$msg .= '...';
107107
}
108108
}

0 commit comments

Comments
 (0)