Passed
Push — chore/format-php ( 5ef121 )
by Grant
16:21
created
app/Console/Kernel.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         // search $needle in process status
61 61
         $result = array_filter(
62 62
             $process_status,
63
-            function ($var) use ($needle) {
63
+            function ($var) use ($needle){
64 64
                 return strpos($var, $needle);
65 65
             }
66 66
         );
Please login to merge, or discard this patch.
app/Models/JobApplication.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
     public function meetsEssentialCriteria(): bool
215 215
     {
216 216
         $essentialCriteria = $this->job_poster->criteria->filter(
217
-            function ($value, $key) {
217
+            function ($value, $key){
218 218
                 return $value->criteria_type->name == 'essential';
219 219
             }
220 220
         );
Please login to merge, or discard this patch.
app/Services/Validation/ApplicationValidator.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     protected function addNestedValidatorRules($nestedAttribute, $validatorRules, $rules = [])
82 82
     {
83 83
         // prepend the attribute name of each validator rule with the nested attribute name
84
-        $newRules = $this->arrayMapKeys(function ($key) use ($nestedAttribute) {
84
+        $newRules = $this->arrayMapKeys(function ($key) use ($nestedAttribute){
85 85
                 return implode('.', [$nestedAttribute, $key]);
86 86
         },
87 87
             $validatorRules);
Please login to merge, or discard this patch.