Passed
Push — master ( 6362bf...699ce5 )
by Luiz Kim
10:28 queued 08:19
created
src/Repository/ConfigRepository.php 1 patch
Braces   +12 added lines, -8 removed lines patch added patch discarded remove patch
@@ -64,8 +64,9 @@  discard block
 block discarded – undo
64 64
       ->getQuery()
65 65
       ->getResult();
66 66
 
67
-    if (empty($result))
68
-      return null;
67
+    if (empty($result)) {
68
+          return null;
69
+    }
69 70
 
70 71
     $configs = [];
71 72
 
@@ -88,8 +89,9 @@  discard block
 block discarded – undo
88 89
     ]);
89 90
 
90 91
 
91
-    if (empty($config) || $config->getConfigValue() != 'itau')
92
-      return null;
92
+    if (empty($config) || $config->getConfigValue() != 'itau') {
93
+          return null;
94
+    }
93 95
 
94 96
     $result = $this->createQueryBuilder('a')
95 97
       ->andWhere('a.people = :people')
@@ -99,8 +101,9 @@  discard block
 block discarded – undo
99 101
       ->getQuery()
100 102
       ->getResult();
101 103
 
102
-    if (empty($result))
103
-      return null;
104
+    if (empty($result)) {
105
+          return null;
106
+    }
104 107
 
105 108
     $configs = [];
106 109
 
@@ -125,8 +128,9 @@  discard block
 block discarded – undo
125 128
       ->getQuery()
126 129
       ->getResult();
127 130
 
128
-    if (empty($result))
129
-      return null;
131
+    if (empty($result)) {
132
+          return null;
133
+    }
130 134
 
131 135
     $configs = [];
132 136
 
Please login to merge, or discard this patch.