Skip to content

Commit

Permalink
Replaced interface to abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolodkin Valentin committed Sep 16, 2024
1 parent 5b1771a commit 115ee95
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/PropertyProcessor/Property/ConstProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
use PHPModelGenerator\Model\Property\PropertyType;
use PHPModelGenerator\Model\SchemaDefinition\JsonSchema;
use PHPModelGenerator\Model\Validator\PropertyValidator;
use PHPModelGenerator\PropertyProcessor\PropertyMetaDataCollection;
use PHPModelGenerator\PropertyProcessor\PropertyProcessorInterface;
use PHPModelGenerator\Utils\RenderHelper;
use PHPModelGenerator\Utils\TypeConverter;

Expand All @@ -20,22 +18,8 @@
*
* @package PHPModelGenerator\PropertyProcessor\Property
*/
class ConstProcessor implements PropertyProcessorInterface
class ConstProcessor extends AbstractPropertyProcessor
{
/** @var PropertyMetaDataCollection */
protected $propertyMetaDataCollection;

/**
* ConstProcessor constructor.
*
* @param PropertyMetaDataCollection $propertyMetaDataCollection
*/
public function __construct(
PropertyMetaDataCollection $propertyMetaDataCollection,
) {
$this->propertyMetaDataCollection = $propertyMetaDataCollection;
}

/**
* @inheritdoc
*/
Expand Down

0 comments on commit 115ee95

Please sign in to comment.