Skip to content

Commit

Permalink
Changes for PHPCS fixes (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire authored May 8, 2024
1 parent 0f0e59a commit d32166e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/CliService.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function createEdgeRoleForDrupal(
string $password,
?string $base_url,
?string $role_name,
?bool $force
?bool $force,
) {
$this->apigeeEdgeManagementCliService->createEdgeRoleForDrupal(
$io,
Expand Down
2 changes: 1 addition & 1 deletion src/CliServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function createEdgeRoleForDrupal(
string $password,
?string $base_url,
?string $role_name,
?bool $force
?bool $force,
);

}
18 changes: 10 additions & 8 deletions src/Command/Util/ApigeeEdgeManagementCliService.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ public function __construct(ClientInterface $http_client) {
/**
* {@inheritdoc}
*/
public function createEdgeRoleForDrupal(StyleInterface $io,
callable $t,
string $org,
string $email,
string $password,
?string $base_url,
?string $role_name,
bool $force) {
public function createEdgeRoleForDrupal(
StyleInterface $io,
callable $t,
string $org,
string $email,
string $password,
?string $base_url,
?string $role_name,
bool $force,
) {

// Set default base URL if var is null or empty string.
if (empty($base_url)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function createEdgeRoleForDrupal(
string $password,
?string $base_url,
?string $role_name,
bool $force
bool $force,
);

}
3 changes: 2 additions & 1 deletion src/Commands/ApigeeEdgeCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ public function createEdgeRole(
'base-url' => NULL,
'role-name' => NULL,
'force' => FALSE,
]) {
],
) {

// Call the CLI Service.
$this->cliService->createEdgeRoleForDrupal(
Expand Down

0 comments on commit d32166e

Please sign in to comment.