Completed
Push — master ( f5b54f...3fea7f )
by Josh
63:24 queued 54:06
created
Zewa/Dependency.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $reflectionClass = new \ReflectionClass($class);
60 60
         $constructor = $reflectionClass->getConstructor();
61 61
 
62
-        if (! $constructor || $constructor->getParameters() === 0) {
62
+        if (!$constructor || $constructor->getParameters() === 0) {
63 63
             $dependency = new $class;
64 64
             return $this->load($class, $dependency, $persist);
65 65
         }
Please login to merge, or discard this patch.
Zewa/Security.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 //@TODO this will not accept all float values, this validates /against/ syntax
49 49
 
50 50
                 if (($int === (int)trim($data, '-')) && strlen((string)(int)$data) === strlen($data)) {
51
-                    $data = (int) $data;
51
+                    $data = (int)$data;
52 52
                 } elseif ($int !== $float && preg_match($re, $data) === 1 && strlen($data) === strlen($float)) {
53 53
                     $data = $float;
54 54
                 }
Please login to merge, or discard this patch.