From c92b23159231d5616f509d168545622bef1bd2bd Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Wed, 1 Aug 2018 11:48:22 -0400 Subject: [PATCH] Style code --- src/Factories/Zend/ResponseFactory.php | 2 +- src/FactoryBuilder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Factories/Zend/ResponseFactory.php b/src/Factories/Zend/ResponseFactory.php index ba6405c..9c18532 100644 --- a/src/Factories/Zend/ResponseFactory.php +++ b/src/Factories/Zend/ResponseFactory.php @@ -22,7 +22,7 @@ public function createResponse(int $code = 200, string $reasonPhrase = ''): Resp { $response = new Response('php://memory', $code, []); - if($reasonPhrase) { + if ($reasonPhrase) { $response = $response->withStatus($code, $reasonPhrase); } diff --git a/src/FactoryBuilder.php b/src/FactoryBuilder.php index 444a665..b8f105d 100644 --- a/src/FactoryBuilder.php +++ b/src/FactoryBuilder.php @@ -8,7 +8,7 @@ class FactoryBuilder { public static function get($choice): HttpFactoryInterface { - switch($choice) { + switch ($choice) { case 'guzzle': return new GuzzleHttpFactory; break;