Skip to content

Commit

Permalink
cs fix [2]
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Mar 27, 2023
1 parent 5bdf26f commit d22ea81
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/Database/PDOPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function __construct(PDOConfig $config, int $size = self::DEFAULT_SIZE)
(
$this->config->hasUnixSocket() ?
"unix_socket={$this->config->getUnixSocket()};" :
"host={$this->config->getHost()};port={$this->config->getPort()};") .
"host={$this->config->getHost()};port={$this->config->getPort()};"
) .
"dbname={$this->config->getDbname()};" .
(
($driver !== 'pgsql') ?
Expand Down
2 changes: 2 additions & 0 deletions src/core/NameResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function lookup(string $name)

/**
* !!! The host MUST BE IP ADDRESS
* @param mixed $url
*/
protected function checkServerUrl($url)
{
Expand Down Expand Up @@ -107,6 +108,7 @@ protected function checkServerUrl($url)

/**
* @param $r ClientProxy
* @param mixed $url
* @return bool
*/
protected function checkResponse($r, $url)
Expand Down
8 changes: 8 additions & 0 deletions src/core/Server/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ public static function start(Server $server)

/**
* @param $server Server
* @param mixed $msg
* @return false|string
*/
public static function handlerGetResources($server, $msg)
Expand All @@ -558,6 +559,7 @@ public static function handlerGetResources($server, $msg)

/**
* @param $server Server
* @param mixed $msg
* @return false|string
*/
public static function handlerGetWorkerInfo($server, $msg)
Expand All @@ -579,6 +581,8 @@ public static function handlerGetWorkerInfo($server, $msg)
}

/**
* @param mixed $server
* @param mixed $msg
* @return false|string
*/
public static function handlerCloseSession($server, $msg)
Expand All @@ -594,6 +598,8 @@ public static function handlerCloseSession($server, $msg)
}

/**
* @param mixed $server
* @param mixed $msg
* @return false|string
*/
public static function handlerGetTimerList($server, $msg)
Expand All @@ -610,6 +616,8 @@ public static function handlerGetTimerList($server, $msg)
}

/**
* @param mixed $server
* @param mixed $msg
* @return false|string
*/
public static function handlerGetCoroutineList($server, $msg)
Expand Down

0 comments on commit d22ea81

Please sign in to comment.