Passed
Pull Request — master (#52)
by
unknown
02:15
created
src/Symfony/HmacAuthenticationProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         if (class_exists(DiactorosFactory::class)) {
44 44
             $httpMessageFactory = new DiactorosFactory();
45
-        }
46
-        else {
45
+        } else {
47 46
             $httpMessageFactory = new PsrHttpFactory(new ServerRequestFactory(), new StreamFactory(), new UploadedFileFactory(), new ResponseFactory());
48 47
         }
49 48
 
Please login to merge, or discard this patch.
src/Symfony/HmacResponseListener.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
         if ($request->attributes->has('hmac.key')) {
35 35
             if (class_exists(DiactorosFactory::class)) {
36 36
                 $httpMessageFactory = new DiactorosFactory();
37
-            }
38
-            else {
37
+            } else {
39 38
                 $httpMessageFactory = new PsrHttpFactory(new ServerRequestFactory(), new StreamFactory(), new UploadedFileFactory(), new ResponseFactory());
40 39
             }
41 40
 
Please login to merge, or discard this patch.