Completed
Push — master ( f48cd5...46c45d )
by Aivis
11s
created
src/Understand/UnderstandLaravel5/ExceptionEncoder.php 1 patch
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -125,32 +125,25 @@
 block discarded – undo
125 125
             if (is_array($arg))
126 126
             {
127 127
                 $params[] = 'array(' . count($arg) . ')';
128
-            }
129
-            else if (is_object($arg))
128
+            } else if (is_object($arg))
130 129
             {
131 130
                 $params[] = get_class($arg);
132
-            }
133
-            else if (is_string($arg))
131
+            } else if (is_string($arg))
134 132
             {
135 133
                 $params[] = 'string(' . $arg . ')';
136
-            }
137
-            else if (is_int($arg))
134
+            } else if (is_int($arg))
138 135
             {
139 136
                 $params[] = 'int(' . $arg . ')';
140
-            }
141
-            else if (is_float($arg))
137
+            } else if (is_float($arg))
142 138
             {
143 139
                 $params[] = 'float(' . $arg . ')';
144
-            }
145
-            else if (is_bool($arg))
140
+            } else if (is_bool($arg))
146 141
             {
147 142
                 $params[] = 'bool(' . ($arg ? 'true' : 'false') . ')';
148
-            }
149
-            else if ($arg instanceof \__PHP_Incomplete_Class)
143
+            } else if ($arg instanceof \__PHP_Incomplete_Class)
150 144
             {
151 145
                 $params[] = 'object(__PHP_Incomplete_Class)'; 
152
-            }
153
-            else
146
+            } else
154 147
             {
155 148
                 $params[] = gettype($arg);
156 149
             }
Please login to merge, or discard this patch.