Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 0902d43

Browse files
committed
Added missing tap()
1 parent ca8fb53 commit 0902d43

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/HttpApi/Controllers/Controller.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ public function onError(ConnectionInterface $connection, Exception $exception)
132132
'error' => $exception->getMessage(),
133133
]));
134134

135-
$connection->send(\GuzzleHttp\Psr7\str($response));
136-
137-
$connection->close();
135+
tap($connection)->send(\GuzzleHttp\Psr7\str($response))->close();
138136
}
139137

140138
/**

0 commit comments

Comments
 (0)