Skip to content

Commit

Permalink
Fixed Method::addArguments
Browse files Browse the repository at this point in the history
  • Loading branch information
lulco authored and mabar committed Sep 17, 2018
1 parent 3820cf0 commit 654a851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Schema/Builder/Controller/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ public function addArgument(string $name, string $type): void
*/
public function addArguments(array $arguments): void
{
foreach ($arguments as $type => $name) {
$this->addArgument($type, $name);
foreach ($arguments as $name => $type) {
$this->addArgument($name, $type);
}
}

Expand Down

0 comments on commit 654a851

Please sign in to comment.