From 97bead20a237f93701521c6a17194f4fe278f590 Mon Sep 17 00:00:00 2001 From: John Knowles Date: Sat, 24 Mar 2018 14:53:36 +0000 Subject: [PATCH] Eliminate usage of Zend_Config from Magento 2 Open Source #71 Remove all references of Zend_Config --- .../Integration/Model/Oauth/Consumer/Validator/KeyLength.php | 2 +- lib/internal/Magento/Framework/Validator/EmailAddress.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Integration/Model/Oauth/Consumer/Validator/KeyLength.php b/app/code/Magento/Integration/Model/Oauth/Consumer/Validator/KeyLength.php index f896f92d576..e697d2594bd 100644 --- a/app/code/Magento/Integration/Model/Oauth/Consumer/Validator/KeyLength.php +++ b/app/code/Magento/Integration/Model/Oauth/Consumer/Validator/KeyLength.php @@ -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 = []) { diff --git a/lib/internal/Magento/Framework/Validator/EmailAddress.php b/lib/internal/Magento/Framework/Validator/EmailAddress.php index 59cd7cb45cf..e1eb12be4f6 100644 --- a/lib/internal/Magento/Framework/Validator/EmailAddress.php +++ b/lib/internal/Magento/Framework/Validator/EmailAddress.php @@ -7,8 +7,6 @@ */ namespace Magento\Framework\Validator; -use Zend_Config; - class EmailAddress extends \Zend_Validate_EmailAddress implements \Magento\Framework\Validator\ValidatorInterface { /** @@ -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 = []) {