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

Commit

Permalink
Merge branch 'master' into 2574
Browse files Browse the repository at this point in the history
  • 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 @@ -342,7 +342,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 @@ -372,7 +372,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 a851ed1

Please sign in to comment.