Closed tovets closed 6 months ago
php 8.3 related
diff --recursive --unified "REST_before.php" "REST_after.php"
--- REST_before.php 2023-12-05 06:28:00.630267395 -0800
+++ REST_after.php 2023-12-05 06:28:15.734536416 -0800
@@ -55,7 +55,7 @@
$runner = new Runner(
$config,
sprintf('%s %s', $request->getMethod(), (string) $request->getUri()),
- [get_class(), 'doExecute'],
+ [static::class, 'doExecute'],
[$client, $request, $expectedClass]
);
Maybe
-[get_class(), 'doExecute'],
+[self::class, 'doExecute'],
Closing, as this will be fixed in the next release
https://github.com/googleapis/google-api-php-client/blob/7a95ed29e4b6c6859d2d22300c5455a92e2622ad/src/Http/REST.php#L58