Passed
Push — master ( d48415...51cd43 )
by Dāvis
03:41
created
Guzzle/GuzzleHttp/Middleware/CacheMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         return $handler($request, $options)->then(function(ResponseInterface $response) use ($request) {
41 41
             $code = (int)floor((int)$response->getStatusCode() / 100);
42
-            if($code === 2) {
42
+            if ($code === 2) {
43 43
                 $this->adapter->save($request, $response);
44 44
             }
45 45
 
Please login to merge, or discard this patch.
Script/Utils/Helper.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         // @formatter:on
109 109
 
110 110
         $sum = 0;
111
-        foreach($calculations as $key => $calculation){
111
+        foreach ($calculations as $key => $calculation) {
112 112
             $sum += ($personCode[$key] * $calculation);
113 113
         }
114 114
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         // @formatter:on
109 109
 
110 110
         $sum = 0;
111
-        foreach($calculations as $key => $calculation){
111
+        foreach($calculations as $key => $calculation) {
112 112
             $sum += ($personCode[$key] * $calculation);
113 113
         }
114 114
 
Please login to merge, or discard this patch.
Script/Repository/QuickInsertRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         self::getTable($object, $tableName, $columns, $type, $manager, $extraFields);
135 135
 
136 136
         $result = self::get(['table_name' => $tableName], true, ['id' => $id], ['*']);
137
-        if($result !== null) {
137
+        if ($result !== null) {
138 138
             unset($result['id']);
139 139
         } else {
140 140
             $result = [];
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         $data = [];
143 143
 
144 144
         $flip = array_flip($columns);
145
-        if(!empty($result)) {
145
+        if (!empty($result)) {
146 146
             foreach ($result as $key => $value) {
147 147
                 $content = self::value($object, $key, $type, false);
148 148
                 if ($content !== $value) {
Please login to merge, or discard this patch.