Skip to content

Commit

Permalink
Remove return self.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 5, 2018
1 parent b06e0f8 commit ea04860
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct(HttpClient $http)
*
* @return static
*/
public static function make(?string $clientId, ?string $clientSecret): self
public static function make(?string $clientId, ?string $clientSecret)
{
return (new static(Discovery::client()))
->setClientId($clientId)
Expand All @@ -68,7 +68,7 @@ public static function make(?string $clientId, ?string $clientSecret): self
*
* @return static
*/
public static function personal(string $accessToken): self
public static function personal(string $accessToken)
{
return static::make(null, null)->setAccessToken($accessToken);
}
Expand Down
10 changes: 5 additions & 5 deletions src/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Query
*
* @return static
*/
public static function make(): self
public static function make()
{
return new static();
}
Expand All @@ -49,7 +49,7 @@ public static function make(): self
*
* @return $this
*/
public function includes($includes): self
public function includes($includes)
{
$includes = is_array($includes) ? $includes : func_get_args();

Expand All @@ -65,7 +65,7 @@ public function includes($includes): self
*
* @return $this
*/
public function excludes($excludes): self
public function excludes($excludes)
{
$excludes = is_array($excludes) ? $excludes : func_get_args();

Expand All @@ -82,7 +82,7 @@ public function excludes($excludes): self
*
* @return $this
*/
public function with(string $name, $value): self
public function with(string $name, $value)
{
$this->customs[$name] = $value;

Expand All @@ -96,7 +96,7 @@ public function with(string $name, $value): self
*
* @return $this
*/
public function forPage(?int $page = null): self
public function forPage(?int $page = null)
{
$this->page = $page;

Expand Down

0 comments on commit ea04860

Please sign in to comment.