Browse Source

Merge branch 'master' into iss18604

bizley-patch-1
Bizley 3 years ago committed by GitHub
parent
commit
f7fe3ae5f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/framework/di/ContainerTest.php

2
tests/framework/di/ContainerTest.php

@ -215,7 +215,7 @@ class ContainerTest extends TestCase
],
],
]);
$closure = function ($a, $x = 5, $b) {
$closure = function ($a, $b, $x = 5) {
return $a > $b;
};
$this->assertFalse(Yii::$container->invoke($closure, ['b' => 5, 'a' => 1]));

Loading…
Cancel
Save