Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
k0ka authored and github-actions[bot] committed Jan 31, 2024
1 parent f3541e1 commit dfb748a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Common/Api/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct(array $definition)
$this->jsonKey = $definition['jsonKey'];
}

$this->params = self::toParamArray($definition['params']);
$this->params = self::toParamArray($definition['params']);
$this->skipAuth = $definition['skipAuth'] ?? false;
}

Expand Down
6 changes: 3 additions & 3 deletions src/Common/Api/OperatorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ trait OperatorTrait
public function __construct(ClientInterface $client, ApiInterface $api)
{
$this->client = $client;
$this->api = $api;
$this->api = $api;
}

/**
Expand Down Expand Up @@ -56,7 +56,7 @@ public function __debugInfo()
* following format: `createAsync`, where `create` is the sequential method being wrapped.
*
* @param string $methodName the name of the method being invoked
* @param array $args the arguments to be passed to the sequential method
* @param array $args the arguments to be passed to the sequential method
*
* @return Promise
*
Expand Down Expand Up @@ -97,7 +97,7 @@ protected function sendRequest(Operation $operation, array $userValues = [], boo
$operation->validate($userValues);

$options = (new RequestSerializer())->serializeOptions($operation, $userValues);
$method = $async ? 'requestAsync' : 'request';
$method = $async ? 'requestAsync' : 'request';

$uri = Utils::uri_template($operation->getPath(), $userValues);

Expand Down

0 comments on commit dfb748a

Please sign in to comment.