From ebac0c878cf9207ea64b8747e5234e629d3ff4c1 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Mon, 28 Oct 2024 16:49:50 -0700 Subject: [PATCH] fix(dev): allow for packagist components in googleads/ as well (#7771) --- dev/src/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/src/Component.php b/dev/src/Component.php index c8d8afb8c801..bc9e7514a8ee 100644 --- a/dev/src/Component.php +++ b/dev/src/Component.php @@ -68,7 +68,7 @@ public static function getComponents(array $componentNames = []): array public function getId(): string { - return str_replace('google/', '', $this->getPackageName()); + return str_replace(['google/', 'googleads/'], '', $this->getPackageName()); } public function getName(): string