Skip to content

Commit

Permalink
Fix StyleCI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sibprogrammer committed Oct 7, 2021
1 parent bdaad89 commit be8c4ab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/Api/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,9 @@ private function _performHttpRequest($request)
* @param array $requests
* @param int $mode
*
* @return array
* @throws Client\Exception
*
* @return array
*/
public function multiRequest(array $requests, $mode = self::RESPONSE_SHORT): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Operator/PhpHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function get($field = null, $value = null): Info
$filterTag = $getTag->addChild('filter');

if (!is_null($field)) {
$filterTag->addChild($field, (string)$value);
$filterTag->addChild($field, (string) $value);
}

$response = $this->_client->request($packet, Client::RESPONSE_FULL);
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Operator/SiteAlias.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function create(array $properties, array $preferences = [])
$prefs = $info->addChild('pref');

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

Expand Down
1 change: 0 additions & 1 deletion src/Api/Struct/PhpHandler/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace PleskX\Api\Struct\PhpHandler;

use PleskX\Api\Struct;
use PleskX\Api\XmlResponse;

class Info extends Struct
{
Expand Down

0 comments on commit be8c4ab

Please sign in to comment.