Completed
Push — master ( 0c4a73...ded36e )
by
unknown
03:05
created
src/UnderstandMonolog/Encoder/ExceptionEncoder.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -123,28 +123,22 @@
 block discarded – undo
123 123
             if (is_array($arg))
124 124
             {
125 125
                 $params[] = 'array(' . count($arg) . ')';
126
-            }
127
-            else if (is_object($arg))
126
+            } else if (is_object($arg))
128 127
             {
129 128
                 $params[] = get_class($arg);
130
-            }
131
-            else if (is_string($arg))
129
+            } else if (is_string($arg))
132 130
             {
133 131
                 $params[] = 'string(' . $arg . ')';
134
-            }
135
-            else if (is_int($arg))
132
+            } else if (is_int($arg))
136 133
             {
137 134
                 $params[] = 'int(' . $arg . ')';
138
-            }
139
-            else if (is_float($arg))
135
+            } else if (is_float($arg))
140 136
             {
141 137
                 $params[] = 'float(' . $arg . ')';
142
-            }
143
-            else if (is_bool($arg))
138
+            } else if (is_bool($arg))
144 139
             {
145 140
                 $params[] = 'bool(' . ($arg ? 'true' : 'false') . ')';
146
-            }
147
-            else
141
+            } else
148 142
             {
149 143
                 $params[] = (string) $arg;
150 144
             }
Please login to merge, or discard this patch.
src/UnderstandMonolog/Handler/UnderstandBaseHandler.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
         if ($sslBundlePath === false)
58 58
         {
59 59
             $this->sslBundlePath = __DIR__ . DIRECTORY_SEPARATOR . 'ca_bundle.crt';
60
-        }
61
-        else
60
+        } else
62 61
         {
63 62
             $this->sslBundlePath = $sslBundlePath;
64 63
         }
Please login to merge, or discard this patch.
src/UnderstandMonolog/Handler/UnderstandSyncHandler.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         if ($response === false)
33 33
         {
34 34
             $this->lastError = curl_error($ch);
35
-        }
36
-        else
35
+        } else
37 36
         {
38 37
             $this->lastError = null;
39 38
         }
Please login to merge, or discard this patch.