Completed
Push — master ( 6dde07...b862a0 )
by
unknown
02:01
created
src/Commands/CommandHandler.php 1 patch
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,17 +5,20 @@
 block discarded – undo
5 5
 // Use to sort _command_types based on prior
6 6
 function sortingPrior($a, $b) {
7 7
 
8
-    if($a['prior'] > $b['prior'])
9
-
8
+    if($a['prior'] > $b['prior']) {
9
+    
10 10
         return 1;
11
+    }
11 12
 
12
-    if($a['prior'] < $b['prior'])
13
-
13
+    if($a['prior'] < $b['prior']) {
14
+    
14 15
         return -1;
16
+    }
15 17
 
16
-    if($a['prior'] == $b['prior'])
17
-
18
+    if($a['prior'] == $b['prior']) {
19
+    
18 20
         return 0;
21
+    }
19 22
 
20 23
 }
21 24
 
Please login to merge, or discard this patch.
src/Entities/EntityAccess.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,9 @@
 block discarded – undo
36 36
         $method = Text::camelCase("get $offset");
37 37
 
38 38
         // If it exists, call it and return its return value
39
-        if (method_exists($this, $method)) return $this->{$method}();
39
+        if (method_exists($this, $method)) {
40
+            return $this->{$method}();
41
+        }
40 42
 
41 43
         // If not return the data from the array after checking it is set
42 44
         return isset($this->container[$offset]) ? $this->container[$offset] : null;
Please login to merge, or discard this patch.