Skip to content

Commit 7c64f4a

Browse files
committed
TASK: update schema
1 parent 4ed5af3 commit 7c64f4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Classes/Preset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function load(): DataRecords
120120
[$className, $methodName] = explode('::', $this->options['dataProcessor'], 2);
121121
$records = \call_user_func([new $className(), $methodName], $records);
122122
if (!$records instanceof DataRecords) {
123-
throw new \RuntimeException(sprintf('The "dataPostprocessor" must return an instance of %s but returned a %s', DataRecords::class, TypeHandling::getTypeForValue($records)), 1563978776);
123+
throw new \RuntimeException(sprintf('The "dataProcessor" must return an instance of %s but returned a %s', DataRecords::class, TypeHandling::getTypeForValue($records)), 1563978776);
124124
}
125125
}
126126
return $records;

Resources/Private/Schema/Settings/Wwwision.ImportService.schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ properties:
1111
'options':
1212
type: dictionary
1313
properties:
14-
'skipNewRecords':
14+
'skipAddedRecords':
1515
type: boolean
1616
'skipRemovedRecords':
1717
type: boolean
18-
'dataPostProcessor':
18+
'dataProcessor':
1919
type: string
2020
pattern: '/^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff\\]*::[a-zA-Z_\x7f-\xff]*$/u'
2121
'source':

0 commit comments

Comments
 (0)