We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a07dc9 + eec16f5 commit 41b6a5eCopy full SHA for 41b6a5e
src/ApiFactory.php
@@ -205,7 +205,8 @@ public function createService(Api $api, $serviceName)
205
206
$fields = [];
207
if (isset($this->config['api-tools-content-validation'][$serviceClassName])) {
208
- foreach ($this->config['api-tools-content-validation'][$serviceClassName] as $validatorKey => $validatorName) {
+ $validators = $this->config['api-tools-content-validation'][$serviceClassName];
209
+ foreach ($validators as $validatorKey => $validatorName) {
210
if (isset($this->config['input_filter_specs'][$validatorName])) {
211
foreach ($this->mapFields($this->config['input_filter_specs'][$validatorName]) as $fieldData) {
212
$fields[$validatorKey][] = $this->getField($fieldData);
0 commit comments