Skip to content

Commit bc00024

Browse files
author
Vítězslav Dvořák
committed
code reformat
1 parent bf2134d commit bc00024

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Subreg/Client.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ public static function env2conf(): array
114114
public function logBanner($additions = null)
115115
{
116116
return $this->addStatusMessage(
117-
'API ' . str_replace(
117+
'API '.str_replace(
118118
'://',
119-
'://' . $this->config['login'] . '@',
119+
'://'.$this->config['login'].'@',
120120
$this->config['uri'],
121-
) . ' php-subreg v' . self::$libVersion . ' ' . $additions,
121+
).' php-subreg v'.self::$libVersion.' '.$additions,
122122
'debug',
123123
);
124124
}
@@ -175,7 +175,7 @@ public function logError(array $errorData): void
175175
{
176176
$this->lastError = $errorData;
177177
$this->addStatusMessage(
178-
$errorData['errorcode']['major'] . ' ' . $errorData['errorcode']['minor'] . ': ' . $errorData['errormsg'],
178+
$errorData['errorcode']['major'].' '.$errorData['errorcode']['minor'].': '.$errorData['errormsg'],
179179
'error',
180180
);
181181
}
@@ -197,7 +197,7 @@ public function login()
197197
if (\array_key_exists('ssid', $loginResponse)) {
198198
$this->token = $loginResponse['ssid'];
199199
$result = true;
200-
$this->setObjectName($params['login'] . '@' . $this->getObjectName());
200+
$this->setObjectName($params['login'].'@'.$this->getObjectName());
201201
}
202202

203203
return $result;

0 commit comments

Comments
 (0)