Skip to content

Commit

Permalink
Merge pull request #26 from uuk020/analysis-xgMYo9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
uuk020 committed Mar 16, 2023
2 parents 081be5e + 677e805 commit 556c5e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/Channel/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function setRequestOption(array $option): self
*/
protected function getClassName(): string
{
$className = basename(str_replace('\\', '/', (get_class($this))));
$className = basename(str_replace('\\', '/', get_class($this)));

return preg_replace('/Channel/', '', $className);
}
Expand Down
2 changes: 0 additions & 2 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public function getDefault(): string

/**
* 设置默认查询类名称.
*
* @param $name
*/
public function setDefault($name)
{
Expand Down
4 changes: 0 additions & 4 deletions src/Traits/HttpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ private function setCurlCommonOption($handle, array $option = [])

/**
* 设置请求方式.
*
* @param $handle
* @param $url
* @param $params
*/
private function setCurlUrlMethod($handle, $url, $params)
{
Expand Down

0 comments on commit 556c5e9

Please sign in to comment.