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

Commit

Permalink
Merge branch 'hotfix/validator-constructor-options' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Csrf.php
Expand Up @@ -76,7 +76,7 @@ class Csrf extends AbstractValidator
*/
public function __construct($options = array())
{
parent::__construct();
parent::__construct($options);

if ($options instanceof Traversable) {
$options = ArrayUtils::iteratorToArray($options);
Expand Down
2 changes: 1 addition & 1 deletion src/Db/AbstractDb.php
Expand Up @@ -94,7 +94,7 @@ abstract class AbstractDb extends AbstractValidator
*/
public function __construct($options = null)
{
parent::__construct();
parent::__construct($options);

if ($options instanceof DbSelect) {
$this->setSelect($options);
Expand Down

0 comments on commit 3fff65f

Please sign in to comment.