Completed
Push — ft/remove-vendor ( 825fc6...4801b9 )
by Philippe
56:00 queued 47:37
created
src/Fields/Types/Field.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,10 +51,14 @@
 block discarded – undo
51 51
 
52 52
     public function required(): bool
53 53
     {
54
-        if(!$this->hasValidation()) return false;
54
+        if(!$this->hasValidation()) {
55
+            return false;
56
+        }
55 57
 
56 58
         foreach($this->values['validation'] as $rule){
57
-            if(false !== strpos($rule, 'required')) return true;
59
+            if(false !== strpos($rule, 'required')) {
60
+                return true;
61
+            }
58 62
         };
59 63
 
60 64
         return false;
Please login to merge, or discard this patch.
src/HealthMonitor/Checks/HomepageAccessibleCheck.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,9 @@
 block discarded – undo
14 14
     }
15 15
 
16 16
     private function get_http_response_code(string $url) {
17
-        if($url =='') return false;
17
+        if($url =='') {
18
+            return false;
19
+        }
18 20
 
19 21
         // Avoid ssl errors: SSL operation failed with code 1
20 22
         stream_context_set_default([
Please login to merge, or discard this patch.