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

Commit

Permalink
Merge branch 'hotfix/3130' into develop
Browse files Browse the repository at this point in the history
Forward port zendframework/zendframework#3130

Conflicts:
	README.md
	library/Zend/Version/Version.php
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/BaseInputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public function testValidationCanUseContext()

$store = new stdClass;
$foo = new Input();
$foo->getValidatorChain()->addValidator(new Validator\Callback(function($value, $context) use ($store) {
$foo->getValidatorChain()->addValidator(new Validator\Callback(function ($value, $context) use ($store) {
$store->value = $value;
$store->context = $context;
return true;
Expand Down Expand Up @@ -373,7 +373,7 @@ public function testInputBreakOnFailureFlagIsHonoredWhenValidating()

$store = new stdClass;
$foo = new Input();
$foo->getValidatorChain()->addValidator(new Validator\Callback(function($value, $context) use ($store) {
$foo->getValidatorChain()->addValidator(new Validator\Callback(function ($value, $context) use ($store) {
$store->value = $value;
$store->context = $context;
return true;
Expand Down

0 comments on commit e3a9518

Please sign in to comment.