Completed
Push — master ( 58d1bc...d96bde )
by Garrett
06:27
created
src/Dice.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,7 +257,8 @@  discard block
 block discarded – undo
257 257
                 list($class, $param, $sub) = $pi;
258 258
 
259 259
                 // First, loop through $args and see if each value can match the current parameter based on type hint
260
-                if (!empty($args)) { // This if statement actually gives a ~10% speed increase when $args isn't set
260
+                if (!empty($args)) {
261
+// This if statement actually gives a ~10% speed increase when $args isn't set
261 262
                     foreach ($args as $i => $arg) {
262 263
                         if ($class !== null
263 264
                             && ($arg instanceof $class || ($arg === null && $param->allowsNull()))
@@ -275,8 +276,7 @@  discard block
 block discarded – undo
275 276
                         $parameters[] = ($sub)
276 277
                             ? $this->expand($rule['substitutions'][$class], $share, true)
277 278
                             : $this->create($class, [], $share);
278
-                    }
279
-                    catch (\InvalidArgumentException $e) {
279
+                    } catch (\InvalidArgumentException $e) {
280 280
 
281 281
                     }
282 282
                     continue;
Please login to merge, or discard this patch.