File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2828 <phar url="someone/somerepo" />
2929 -->
3030 <phar name =" phpunit" version =" ^9.5" installed =" 9.5.26" location =" ./bin/phpunit" copy =" true" />
31- <phar name =" phpstan" version =" ^1.8.10" installed =" 1.9.0 " location =" ./bin/phpstan" copy =" true" />
31+ <phar name =" phpstan" version =" ^1.8.10" installed =" 1.9.2 " location =" ./bin/phpstan" copy =" true" />
3232 <phar name =" phpcs" version =" ^3.5.3" installed =" 3.7.1" location =" ./bin/phpcs" copy =" true" />
3333 <phar name =" phpcbf" version =" ^3.5.3" installed =" 3.7.1" location =" ./bin/phpcbf" copy =" true" />
3434 <phar name =" grumphp" version =" ^0.19.1" installed =" 0.19.1" location =" ./bin/grumphp" copy =" true" />
Original file line number Diff line number Diff line change @@ -88,8 +88,10 @@ public static function fromArray(array $variants)
8888 UnsupportedOperationException::withName ($ method );
8989 }
9090
91+ /** @var callable $callback */
92+ $ callback = [$ variant , $ method ];
9193 $ variant = call_user_func_array (
92- [ $ variant , $ method ] ,
94+ $ callback ,
9395 self ::filterArgs ($ variant , $ method , $ args )
9496 );
9597 }
You can’t perform that action at this time.
0 commit comments