File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66
77## [ Unreleased]
88
9- ## [ 0.2.2 ] - 2017-03-11
9+ ## [ 0.3.0 ] - 2017-03-11
1010### Fixed
1111
1212- Bug in auto wiring behavior so that subclassOf middleware runs before the container middleware
13- - Updated composer deps to allow 0.4 and 0.5 version of the mw package.
13+ - Updated composer deps to require 0.5 version of the mw package.
1414
1515## [ 0.2.1] - 2017-02-26
1616
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ class AutoArgs
99 private $ resolve_arg ;
1010
1111 public function __construct (callable $ resolve_arg = null ) {
12- $ this ->resolve_arg = $ resolve_arg ?: self ::createStack ()->compose (function () {
13- return [];
14- });
12+ $ this ->resolve_arg = $ resolve_arg ?: Mw \compose ([
13+ function () { return []; },
14+ self ::createStack ()
15+ ]);
1516 }
1617
1718 public function invoke (callable $ callable , array $ context ) {
@@ -66,7 +67,7 @@ public function callableToReflectionFunctionAbstract($callable) {
6667 }
6768
6869 public static function createStack () {
69- return mw \stack (' Resolve Argument ' )
70+ return mw \stack ()
7071 ->push (defaultValueResolveArgument (), -1 , 'defaultValue ' )
7172 ->push (varNameResolveArgument (), 0 , 'varName ' )
7273 ->push (containerResolveArgument (), 0 , 'container ' )
You can’t perform that action at this time.
0 commit comments