Browse Source

Merge pull request #18622 from yiisoft/bizley-patch-1

Fix PHP8 deprecation
bizley-patch-1
Bizley 3 years ago committed by GitHub
parent
commit
f1a1d9ac03
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