Skip to content

Commit

Permalink
Fix typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mtompset committed Dec 11, 2024
1 parent 5ea34ba commit f75c039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SilMock/Google/Service/Directory/Resource/Groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public function get(string $groupKey): ?GoogleDirectory_Group
if ($matchedGroup !== null) {
$mockGroupsAliasesObject = new GroupsAliases($this->dbFile);
$aliasesObject = $mockGroupsAliasesObject->listGroupsAliases($matchedGroup->getEmail());
$arrayOfAliasOjbects = $aliasesObject->getAliases();
$aliases = array_map(function (GoogleDirectory_GroupAlias $alias) { return $alias->getAlias(); }, $arrayOfAliasOjbects);
$arrayOfAliasObjects = $aliasesObject->getAliases();
$aliases = array_map(function (GoogleDirectory_GroupAlias $alias) { return $alias->getAlias(); }, $arrayOfAliasObjects);
$matchedGroup->setAliases($aliases);
}
return $matchedGroup;
Expand Down

0 comments on commit f75c039

Please sign in to comment.