Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kapishps committed Aug 29, 2024
1 parent 6532eab commit 9fb4256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion secretmanager/src/list_regional_secrets.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @param string $projectId Your Google Cloud Project ID (e.g. 'my-project')
* @param string $locationId Your secret Location (e.g. "us-central1")
*/
function list_regional_secret(string $projectId, string $locationId,): void
function list_regional_secret(string $projectId, string $locationId): void
{
# Specify regional endpoint.
$options = ['apiEndpoint' => "secretmanager.$locationId.rep.googleapis.com"];
Expand Down
2 changes: 1 addition & 1 deletion secretmanager/test/regionalsecretmanagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class regionalsecretmanagerTest extends TestCase

public static function setUpBeforeClass(): void
{
$options = ['apiEndpoint' => "secretmanager.$locationId.rep.googleapis.com"];
$options = ['apiEndpoint' => "secretmanager." . self::$locationId . ".rep.googleapis.com" ];
self::$client = new SecretManagerServiceClient($options);

self::$testSecret = self::createSecret();
Expand Down

0 comments on commit 9fb4256

Please sign in to comment.