Skip to content

Commit 0041b81

Browse files
authored
Fix methods parameter names inconsistency (#187)
1 parent 0a8820e commit 0041b81

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

contracts/Reactant/Models/Reactant.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getReactions(): iterable;
3535
*/
3636
public function getReactionCounters(): iterable;
3737

38-
public function getReactionCounterOfType(ReactionType $type): ReactionCounter;
38+
public function getReactionCounterOfType(ReactionType $reactionType): ReactionCounter;
3939

4040
public function getReactionTotal(): ReactionTotal;
4141

@@ -51,7 +51,7 @@ public function isNull(): bool;
5151

5252
public function isNotNull(): bool;
5353

54-
public function createReactionCounterOfType(ReactionType $type): void;
54+
public function createReactionCounterOfType(ReactionType $reactionType): void;
5555

5656
public function createReactionTotal(): void;
5757
}

contracts/Reactant/ReactionCounter/Models/ReactionCounter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public function getReactant(): Reactant;
2222

2323
public function getReactionType(): ReactionType;
2424

25-
public function isReactionOfType(ReactionType $type): bool;
25+
public function isReactionOfType(ReactionType $reactionType): bool;
2626

27-
public function isNotReactionOfType(ReactionType $type): bool;
27+
public function isNotReactionOfType(ReactionType $reactionType): bool;
2828

2929
public function getCount(): int;
3030

contracts/Reaction/Models/Reaction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ public function getRate(): float;
3131

3232
public function getWeight(): float;
3333

34-
public function isOfType(ReactionType $type): bool;
34+
public function isOfType(ReactionType $reactionType): bool;
3535

36-
public function isNotOfType(ReactionType $type): bool;
36+
public function isNotOfType(ReactionType $reactionType): bool;
3737

3838
public function isToReactant(Reactant $reactant): bool;
3939

0 commit comments

Comments
 (0)