Skip to content

Commit

Permalink
Remove unused parameter in no-op closure
Browse files Browse the repository at this point in the history
  • Loading branch information
rosstuck committed Aug 2, 2015
1 parent e563fa2 commit 5313db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommandBus.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function handle($command)
*/
private function createExecutionChain($middlewareList)
{
$lastCallable = function ($command) {
$lastCallable = function () {
// the final callable is a no-op
};

Expand Down

0 comments on commit 5313db2

Please sign in to comment.