Skip to content

Commit be8c4ab

Browse files
committed
Fix StyleCI issues
1 parent bdaad89 commit be8c4ab

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Api/Client.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ private function _performHttpRequest($request)
221221
* @param array $requests
222222
* @param int $mode
223223
*
224-
* @return array
225224
* @throws Client\Exception
225+
*
226+
* @return array
226227
*/
227228
public function multiRequest(array $requests, $mode = self::RESPONSE_SHORT): array
228229
{

src/Api/Operator/PhpHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function get($field = null, $value = null): Info
2222
$filterTag = $getTag->addChild('filter');
2323

2424
if (!is_null($field)) {
25-
$filterTag->addChild($field, (string)$value);
25+
$filterTag->addChild($field, (string) $value);
2626
}
2727

2828
$response = $this->_client->request($packet, Client::RESPONSE_FULL);

src/Api/Operator/SiteAlias.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function create(array $properties, array $preferences = [])
2222
$prefs = $info->addChild('pref');
2323

2424
foreach ($preferences as $key => $value) {
25-
$prefs->addChild($key, is_bool($value) ? ($value ? "1" : "0") : $value);
25+
$prefs->addChild($key, is_bool($value) ? ($value ? '1' : '0') : $value);
2626
}
2727
}
2828

src/Api/Struct/PhpHandler/Info.php

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
namespace PleskX\Api\Struct\PhpHandler;
55

66
use PleskX\Api\Struct;
7-
use PleskX\Api\XmlResponse;
87

98
class Info extends Struct
109
{

0 commit comments

Comments
 (0)