Skip to content

Commit

Permalink
Bumping up to krak/mw@0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Garcia <rj@bighead.net>
  • Loading branch information
ragboyjr committed Dec 5, 2016
1 parent f600e3b commit ed1f3f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"files": ["src/inc.php"]
},
"require": {
"krak/mw": "^0.1.0",
"krak/mw": "^0.3.0",
"nikic/iter": "^1.4",
"psr/log": "^1.0",
"symfony/process": "^2.8"
Expand Down
4 changes: 2 additions & 2 deletions src/AbstractPipeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Krak\Job;

use function Krak\Mw\composeMwSet;
use Krak\Mw;

/** manages a stack of consumers to form a pipeline. Consumers at the end will be executed first */
abstract class AbstractPipeline
Expand All @@ -27,6 +27,6 @@ public function shift() {
return array_shift($this->middleware);
}
public function compose() {
return composeMwSet($this->middleware);
return mw\compose($this->middleware);
}
}
2 changes: 0 additions & 2 deletions src/ConsumerPipeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Krak\Job;

use function Krak\Mw\composeMwSet;

/** manages a stack of consumers to form a pipeline. Consumers at the end will be executed first */
class ConsumerPipeline extends AbstractPipeline
{
Expand Down
2 changes: 0 additions & 2 deletions src/ProducerPipeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Krak\Job;

use function Krak\Mw\composeMwSet;

/** manages a stack of producers to form a pipeline. Producers at the end will be executed first */
class ProducerPipeline extends AbstractPipeline
{
Expand Down

0 comments on commit ed1f3f7

Please sign in to comment.