Skip to content

Commit

Permalink
Fix methods parameter names inconsistency (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev authored Dec 6, 2020
1 parent 0a8820e commit 0041b81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions contracts/Reactant/Models/Reactant.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getReactions(): iterable;
*/
public function getReactionCounters(): iterable;

public function getReactionCounterOfType(ReactionType $type): ReactionCounter;
public function getReactionCounterOfType(ReactionType $reactionType): ReactionCounter;

public function getReactionTotal(): ReactionTotal;

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

public function isNotNull(): bool;

public function createReactionCounterOfType(ReactionType $type): void;
public function createReactionCounterOfType(ReactionType $reactionType): void;

public function createReactionTotal(): void;
}
4 changes: 2 additions & 2 deletions contracts/Reactant/ReactionCounter/Models/ReactionCounter.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public function getReactant(): Reactant;

public function getReactionType(): ReactionType;

public function isReactionOfType(ReactionType $type): bool;
public function isReactionOfType(ReactionType $reactionType): bool;

public function isNotReactionOfType(ReactionType $type): bool;
public function isNotReactionOfType(ReactionType $reactionType): bool;

public function getCount(): int;

Expand Down
4 changes: 2 additions & 2 deletions contracts/Reaction/Models/Reaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public function getRate(): float;

public function getWeight(): float;

public function isOfType(ReactionType $type): bool;
public function isOfType(ReactionType $reactionType): bool;

public function isNotOfType(ReactionType $type): bool;
public function isNotOfType(ReactionType $reactionType): bool;

public function isToReactant(Reactant $reactant): bool;

Expand Down

0 comments on commit 0041b81

Please sign in to comment.