Passed
Pull Request — develop (#54)
by Mario
06:51
created
api/src/Validator/Constraints/Role/Permissions/ValidValidator.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -127,17 +127,17 @@  discard block
 block discarded – undo
127 127
                 "type": "array",
128 128
                 "additionalProperties": false,
129 129
                 "properties": {
130
-                    "assets": ' . $property . ',
131
-                    "authentication": ' . $property . ',
132
-                    "cases": ' . $property . ',
133
-                    "cms": ' . $property . ',
134
-                    "forms": ' . $property . ',
135
-                    "identities": ' . $property . ',
136
-                    "microservice": ' . $property . ',
137
-                    "records": ' . $property . ',
138
-                    "services": ' . $property . ',
139
-                    "tasks": ' . $property . ',
140
-                    "tenants": ' . $property . '
130
+                    "assets": ' . $property.',
131
+                    "authentication": ' . $property.',
132
+                    "cases": ' . $property.',
133
+                    "cms": ' . $property.',
134
+                    "forms": ' . $property.',
135
+                    "identities": ' . $property.',
136
+                    "microservice": ' . $property.',
137
+                    "records": ' . $property.',
138
+                    "services": ' . $property.',
139
+                    "tasks": ' . $property.',
140
+                    "tenants": ' . $property.'
141 141
                 }
142 142
             }
143 143
         ');
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             foreach ($validator->getErrors() as $error) {
149 149
                 $this->context
150 150
                     ->buildViolation($error['message'])
151
-                    ->atPath('permissions.' . $error['property'])
151
+                    ->atPath('permissions.'.$error['property'])
152 152
                     ->addViolation();
153 153
             }
154 154
         }
Please login to merge, or discard this patch.