Skip to content

Commit

Permalink
Fix Zend Validate Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cemag44 authored and cemag44300 committed Dec 2, 2022
1 parent f8e677e commit 10eb232
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## [1.3.8] - 2022-12-02
[1.3.8]: https://github.com/Smile-SA/magento2-module-custom-entity/compare/1.3.7...1.3.8

- Fix Zend Validate Regex

## [1.3.7] - 2022-11-21
[1.3.7]: https://github.com/Smile-SA/magento2-module-custom-entity/compare/1.3.6...1.3.7

Expand Down
3 changes: 0 additions & 3 deletions Controller/Adminhtml/Attribute/Save.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Magento\Framework\Controller\Result\ForwardFactory;
use Magento\Framework\Serialize\Serializer\FormData;
use Smile\ScopedEav\ViewModel\Data as DataViewModel;
use Zend\Validator\RegexFactory;

/**
* Custom entity attribute save controller.
Expand All @@ -29,15 +28,13 @@ public function __construct(
Context $context,
DataViewModel $dataViewModel,
Builder $attributeBuilder,
RegexFactory $regexFactory,
?FormData $formDataSerializer,
ForwardFactory $resultForwardFactory
) {
parent::__construct(
$context,
$dataViewModel,
$attributeBuilder,
$regexFactory,
$formDataSerializer,
$resultForwardFactory
);
Expand Down

0 comments on commit 10eb232

Please sign in to comment.