Skip to content

Commit

Permalink
cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaEstes committed Oct 31, 2023
1 parent 5b43106 commit 17a0265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@
*
* @author Joshua Estes <[email protected]>
*/
class ClientException extends \Exception implements ClientExceptionInterface
{
}
class ClientException extends \Exception implements ClientExceptionInterface {}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testHandleWorksAsExpected(): void
$handler = new HandlerStack(new NullHandler());
$handler->push(new HttpErrorMiddleware());
$handler->push(new ContentLengthMiddleware());
$handler->push(new CallbackMiddleware(function ($handler, $req, $res) { return $handler->handle($req, $res); }));
$handler->push(new CallbackMiddleware(fn ($handler, $req, $res) => $handler->handle($req, $res)));
$handler->push(new NullMiddleware());
$response = $handler->handle((new Request())->withBody(new Stream()));

Expand Down

0 comments on commit 17a0265

Please sign in to comment.