Skip to content

Changes for PHPCS fixes #1052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 8, 2024
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
Loading