Completed
Push — master ( 2bcadb...bbb742 )
by smiley
03:04
created
src/ClassLoader.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 				if($reflectionType->isInterface() && !$reflectionClass->implementsInterface($type)){
52 52
 					trigger_error($class.' does not implement '.$type);
53
-				}
54
-				elseif(!$reflectionClass->isSubclassOf($type)) {
53
+				} elseif(!$reflectionClass->isSubclassOf($type)) {
55 54
 					trigger_error($class.' does not inherit '.$type);
56 55
 				}
57 56
 
@@ -64,8 +63,7 @@  discard block
 block discarded – undo
64 63
 			}
65 64
 
66 65
 			return $object;
67
-		}
68
-		catch(Exception $e){
66
+		} catch(Exception $e){
69 67
 			throw new TraitException('ClassLoader: '.$e->getMessage());
70 68
 		}
71 69
 
Please login to merge, or discard this patch.
src/Env.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
 
57 57
 		if(array_key_exists($var, $_ENV)){
58 58
 			return $_ENV[$var];
59
-		}
60
-		elseif(function_exists('getenv')){
59
+		} elseif(function_exists('getenv')){
61 60
 			if($e = getenv($var) !== false){
62 61
 				return $e;
63 62
 			}
Please login to merge, or discard this patch.
src/Interfaces/ArrayAccessTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
 
54 54
 		if(is_null($offset)){
55 55
 			$this->array[] = $value;
56
-		}
57
-		else{
56
+		} else{
58 57
 			$this->array[$offset] = $value;
59 58
 		}
60 59
 
Please login to merge, or discard this patch.