Skip to content

Commit

Permalink
Apply fixes from StyleCI (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and sebastiandedeyne committed May 24, 2018
1 parent 1c652e1 commit 51eeb54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Helpers/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function transpose(array $array): array
$numHits = count($array[0]);
$groups = array_keys($array);
$result = [];
for ($hit = 0; $hit < $numHits; ++$hit) {
for ($hit = 0; $hit < $numHits; $hit++) {
$group = [];
foreach ($groups as $groupName) {
$group[$groupName] = $array[$groupName][$hit];
Expand Down
2 changes: 1 addition & 1 deletion src/MatchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ public function groupOr($group, $default): string
*/
public function namedGroup($group): string
{
return $this->group($group);
return $this->group($group);
}
}

0 comments on commit 51eeb54

Please sign in to comment.