@@ -16,6 +16,9 @@ |
||
| 16 | 16 | // Dont change order - longer will be first (before other started from same symbols) |
| 17 | 17 | const RULES = ['set:', 'add:', 'max:', 'min:']; |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param \ArrayObject $data |
|
| 21 | + */ |
|
| 19 | 22 | public static function updateAllFields(&$data, array $changes) : void |
| 20 | 23 | { |
| 21 | 24 | foreach($changes as $key=>$value) { |