Skip to content

Commit 4872720

Browse files
Refactor for readability
1 parent 30e319e commit 4872720

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Metadata/Api/Groups.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ public function groups(string $className, string $methodName, bool $includeVirtu
104104
}
105105
}
106106

107-
return self::$groupCache[$key] = array_unique($groups);
107+
self::$groupCache[$key] = array_unique($groups);
108+
109+
return self::$groupCache[$key];
108110
}
109111

110112
/**

0 commit comments

Comments
 (0)