Skip to content

Commit

Permalink
Apply fixes from StyleCI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam authored Jul 3, 2019
1 parent 136ee54 commit 5f8bab1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use GuzzleHttp\Exception\RequestException;
use Avtocod\B2BApi\Responses\DevPingResponse;
use Avtocod\B2BApi\Responses\DevTokenResponse;
use GuzzleHttp\ClientInterface as GuzzleInterface;
use Avtocod\B2BApi\Exceptions\BadRequestException;
use GuzzleHttp\ClientInterface as GuzzleInterface;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

Expand Down Expand Up @@ -68,7 +68,7 @@ public function getSettings(): Settings
}

/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function devPing(): DevPingResponse
{
Expand Down Expand Up @@ -122,9 +122,9 @@ public function getVersion(bool $without_hash = true): string
* @param RequestInterface $request
* @param array $options
*
* @return ResponseInterface
* @throws BadRequestException
*
* @return ResponseInterface
*/
protected function doRequest(RequestInterface $request, array $options = []): ResponseInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Avtocod\B2BApi;

use Avtocod\B2BApi\Responses\DevPingResponse;
use Avtocod\B2BApi\Exceptions\BadRequestException;
use Avtocod\B2BApi\Exceptions\BadResponseException;
use Avtocod\B2BApi\Responses\DevPingResponse;

interface ClientInterface
{
Expand Down
3 changes: 1 addition & 2 deletions src/Responses/DevTokenResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Avtocod\B2BApi\Responses;

use Avtocod\B2BApi\DateTimeFactory;
use DateTime;
use Tarampampam\Wrappers\Json;
use Avtocod\B2BApi\DateTimeFactory;
use Avtocod\B2BApi\Exceptions\BadResponseException;
use Tarampampam\Wrappers\Exceptions\JsonEncodeDecodeException;
use Psr\Http\Message\ResponseInterface as HttpResponseInterface;
Expand Down Expand Up @@ -95,7 +95,6 @@ private function __construct(string $user,
string $token,
string $header)
{

$this->user = $user;
$this->password = $password;
$this->password_hash = $password_hash;
Expand Down
2 changes: 1 addition & 1 deletion tests/DateTimeFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Avtocod\B2BApi\Tests;

use Avtocod\B2BApi\DateTimeFactory;
use DateTime;
use Avtocod\B2BApi\DateTimeFactory;

/**
* @group datetime
Expand Down

0 comments on commit 5f8bab1

Please sign in to comment.