src/Transformer/JsonSchemaForm/NumberTransformer.php line 28
<?phpdeclare(strict_types=1);/*** Copyright (c) 2019 TECLA Consulting Group oü.* All rights reserved.** This unpublished material is proprietary to TECLA Consulting Group oü.* All rights reserved. The methods and* techniques described herein are considered trade secrets* and/or confidential. Reproduction or distribution, in whole* or in part, is forbidden except by express written permission* of TECLA Consulting Group oü.** @author Matúš Sýkorjak <matus@tecla.no>* @copyright 2019 TECLA Consulting Group oü*/namespace App\Transformer\JsonSchemaForm;use Symfony\Component\Form\FormInterface;class NumberTransformer extends AbstractTransformer{/*** {@inheritdoc}*/public function transform(FormInterface $form, array $extensions = [], string $widget = null): array{$schema = ['type' => 'number'];$schema = $this->addCommonSpecs($form, $schema, $widget, $extensions);return $schema;}}