Skip to content

Commit

Permalink
fix: styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Seriyyy95 committed Apr 25, 2024
1 parent 9c20a93 commit 976968e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ composer.lock
phpstan.neon
phpunit.xml
vendor

6 changes: 3 additions & 3 deletions src/Communication/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
namespace HeadlessChromium\Communication;

use Evenement\EventEmitter;
use HeadlessChromium\Communication\Socket\WaitForDataInterface;
use HeadlessChromium\Communication\Socket\SocketInterface;
use HeadlessChromium\Communication\Socket\WaitForDataInterface;
use HeadlessChromium\Communication\Socket\Wrench;
use HeadlessChromium\Exception\CommunicationException;
use HeadlessChromium\Exception\CommunicationException\CantSyncEventsException;
use HeadlessChromium\Exception\CommunicationException\CannotReadResponse;
use HeadlessChromium\Exception\CommunicationException\CantSyncEventsException;
use HeadlessChromium\Exception\CommunicationException\InvalidResponse;
use HeadlessChromium\Exception\OperationTimedOut;
use HeadlessChromium\Exception\TargetDestroyed;
Expand Down Expand Up @@ -350,7 +350,7 @@ public function readLine()

public function processAllEvents(): void
{
if($this->wsClient instanceof WaitForDataInterface === false){
if (false === $this->wsClient instanceof WaitForDataInterface) {
throw new CantSyncEventsException();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@

class CantSyncEventsException extends CommunicationException
{

}

0 comments on commit 976968e

Please sign in to comment.