Skip to content

Commit

Permalink
Merge pull request #103 from WeareJH/bug/72-zend-config
Browse files Browse the repository at this point in the history
Eliminate usage of Zend_Config from Magento 2 Open Source #71
  • Loading branch information
buskamuza committed Apr 6, 2018
2 parents 23efe70 + 97bead2 commit ca26768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class KeyLength extends \Zend_Validate_StringLength
* Default encoding is set to utf-8 if none provided
* New option name added to allow adding key name in validation error messages
*
* @param integer|array|\Zend_Config $options
* @inheritdoc
*/
public function __construct($options = [])
{
Expand Down
4 changes: 1 addition & 3 deletions lib/internal/Magento/Framework/Validator/EmailAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
*/
namespace Magento\Framework\Validator;

use Zend_Config;

class EmailAddress extends \Zend_Validate_EmailAddress implements \Magento\Framework\Validator\ValidatorInterface
{
/**
Expand All @@ -21,7 +19,7 @@ class EmailAddress extends \Zend_Validate_EmailAddress implements \Magento\Frame
* 'mx' => If MX check should be enabled, boolean
* 'deep' => If a deep MX check should be done, boolean
*
* @param array|string|Zend_Config $options OPTIONAL
* @inheritdoc
*/
public function __construct($options = [])
{
Expand Down

0 comments on commit ca26768

Please sign in to comment.