Skip to content

Commit 329e2b5

Browse files
authored
Merge pull request #3 from aRn0D/update_dependencies
Update memio dependencies
2 parents 29a5a77 + 21c6a22 commit 329e2b5

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
},
2727
"require": {
2828
"gnugat/redaktilo": "^1.7",
29-
"memio/memio": "^2.0@alpha",
30-
"memio/linter": "^2.0@alpha",
31-
"memio/validator": "^2.0@alpha",
32-
"memio/model": "^2.0@alpha",
33-
"memio/pretty-printer": "^2.0@alpha",
34-
"memio/twig-template-engine": "^2.0@alpha",
29+
"memio/memio": "^2.0",
30+
"memio/linter": "^2.0",
31+
"memio/validator": "^2.0",
32+
"memio/model": "^2.0",
33+
"memio/pretty-printer": "^2.0",
34+
"memio/twig-template-engine": "^2.0",
3535
"php": "^7.0",
3636
"phpspec/phpspec": "^4.0@rc",
3737
"symfony/event-dispatcher": "^2.7 || ^3.0 || ^4.0"

src/Memio/SpecGen/Marshaller/Model/ArgumentCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function add(string $type, string $name)
2424
$indexedName = $name.$this->nameCount[$name];
2525
$isNameDuplicated = ($this->nameCount[$name] > 1);
2626
$this->arguments[] = new Argument($type, $isNameDuplicated ? $indexedName : $name);
27-
if ($this->nameCount[$name] !== 2) {
27+
if (2 !== $this->nameCount[$name]) {
2828
return;
2929
}
3030
$argumentsCount = count($this->arguments);

0 commit comments

Comments
 (0)