Passed
Push — master ( 5bfe47...314d48 )
by Dmitry
01:58
created
src/Key.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
             $this->check_exists($fname);
21 21
 
22 22
             $key = $this->load($fname);
23
-        }
24
-        catch (\Exception $e)
23
+        } catch (\Exception $e)
25 24
         {
26 25
             throw new Exception\Runtime('The file with the '.$type.' key was '.$e->getMessage().'!', -98);
27 26
         }
Please login to merge, or discard this patch.
src/Provider31/Response.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,9 @@  discard block
 block discarded – undo
114 114
          */
115 115
         protected function sign($options)
116 116
         {
117
-                if (isset($this->Sign)) return;
117
+                if (isset($this->Sign)) {
118
+                        return;
119
+                }
118 120
 
119 121
                 if (isset($options['UseSign']) && ($options['UseSign'] === true))
120 122
                 {
@@ -143,8 +145,7 @@  discard block
 block discarded – undo
143 145
                 try
144 146
                 {
145 147
                     $pkeyid = (new Key())->get($options['ProviderPKey'], 'private');
146
-                }
147
-                catch (\Exception $e)
148
+                } catch (\Exception $e)
148 149
                 {
149 150
                     return null;
150 151
                 }
Please login to merge, or discard this patch.