From f75c0394c8c1d5d925a07602efd0d60e6b1adc91 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Wed, 11 Dec 2024 13:38:52 -0500 Subject: [PATCH] Fix typo in variable name --- SilMock/Google/Service/Directory/Resource/Groups.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SilMock/Google/Service/Directory/Resource/Groups.php b/SilMock/Google/Service/Directory/Resource/Groups.php index 6bb2f6b..51e8b5b 100644 --- a/SilMock/Google/Service/Directory/Resource/Groups.php +++ b/SilMock/Google/Service/Directory/Resource/Groups.php @@ -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;