Skip to content

Commit 98fef0a

Browse files
committed
Updating code sniff issues
Fixing code sniff issues
1 parent 2541be5 commit 98fef0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Vies/HeartBeat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private function reachOut(): bool
173173
*/
174174
private function readContents($handle): array
175175
{
176-
if (!is_resource($handle)) {
176+
if (! is_resource($handle)) {
177177
throw new \InvalidArgumentException('Expecting a resource to be provided');
178178
}
179179
$response = '';
@@ -228,7 +228,7 @@ private function getSecuredResponse(): array
228228
$streamContext
229229
);
230230

231-
if (!$stream) {
231+
if (! $stream) {
232232
throw new \RuntimeException('Can not create socket stream: ' . $error);
233233
}
234234

0 commit comments

Comments
 (0)