From 564d227828fd1a87176ef12d169fa5809e707ade Mon Sep 17 00:00:00 2001 From: Kristijan <470003+eldair@users.noreply.github.com> Date: Tue, 20 Jan 2026 17:29:14 +0100 Subject: [PATCH] Change constructor parameter to nullable string Implicitly marking parameters as nullable is deprecated. --- src/Google/Ads/GoogleAds/Util/ApiVersionSupport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Google/Ads/GoogleAds/Util/ApiVersionSupport.php b/src/Google/Ads/GoogleAds/Util/ApiVersionSupport.php index 6b6c6cdbdd..eb2489045c 100644 --- a/src/Google/Ads/GoogleAds/Util/ApiVersionSupport.php +++ b/src/Google/Ads/GoogleAds/Util/ApiVersionSupport.php @@ -38,7 +38,7 @@ class ApiVersionSupport * @param string|null $rootPath the root path of the library, the one that contains this class * file is used by default */ - public function __construct(string $rootPath = null) + public function __construct(?string $rootPath = null) { $this->rootPath = $rootPath ?: dirname(__DIR__, 5); }