Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'zendStudioDLTKProblems' of /~https://github.com/marc-mabe…
Browse files Browse the repository at this point in the history
…/zf2 into hotfix/coding-standards

Conflicts:
	library/Zend/Mvc/Controller/ActionController.php
	library/Zend/Mvc/Controller/RestfulController.php
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AbstractValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getOption($option)
}

if (isset($this->options) && array_key_exists($option, $this->options)) {
return $this->options[$options];
return $this->options[$option];
}

throw new InvalidArgumentException("Invalid option '$option'");
Expand Down
4 changes: 3 additions & 1 deletion src/Ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
namespace Zend\Validator;

use Traversable;

/**
* @uses \Zend\Validator\AbstractValidator
* @uses \Zend\Validator\Exception
Expand Down Expand Up @@ -76,7 +78,7 @@ public function __construct($options = array())

$options += $this->_options;
$this->setOptions($options);

parent::__construct();
}

Expand Down

0 comments on commit c5340fc

Please sign in to comment.