Skip to content

Commit 0fe21e9

Browse files
committed
Method arguments alignment to comply with PHPCS
1 parent 85efb60 commit 0fe21e9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl/AdminExecutor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ private function setFormKey()
109109
* Send request to the remote server.
110110
*
111111
* @param string $url
112-
* @param array $data
112+
* @param array $data
113113
* @param string $method
114-
* @param array $headers
114+
* @param array $headers
115115
* @return void
116116
* @throws TestFrameworkException
117117
*/
@@ -167,7 +167,7 @@ public function read($successRegex = null, $returnRegex = null)
167167
/**
168168
* Add additional option to cURL.
169169
*
170-
* @param integer $option CURLOPT_* constants.
170+
* @param integer $option CURLOPT_* constants.
171171
* @param integer|string|boolean|array $value
172172
* @return void
173173
*/

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl/FrontendExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private function authorize()
8585
$this->transport->write($url);
8686
$this->read();
8787

88-
$url = $this->getBaseUrl() . 'customer/account/loginPost/';
88+
$url = $this->getBaseUrl() . 'customer/account/loginPost/';
8989
$data = [
9090
'login[username]' => $this->customerEmail,
9191
'login[password]' => $this->customerPassword,

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl/WebapiExecutor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getBaseUrl(): string
8181
}
8282

8383
if ($webapiPort) {
84-
$baseUrl = rtrim($baseUrl,'/').':'.$webapiPort.'/';
84+
$baseUrl = rtrim($baseUrl, '/') . ':' . $webapiPort . '/';
8585
}
8686

8787
return $baseUrl;
@@ -175,7 +175,7 @@ public function getFormattedUrl($resource)
175175
if ($this->storeCode != null) {
176176
$urlResult .= $this->storeCode . "/";
177177
}
178-
$urlResult.= trim($resource, "/");
178+
$urlResult .= trim($resource, "/");
179179
return $urlResult;
180180
}
181181
}

0 commit comments

Comments
 (0)