Skip to content

Commit

Permalink
Update and run PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Dec 20, 2019
1 parent a8fe9e8 commit 5128829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"psr/log": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.15.1"
"friendsofphp/php-cs-fixer": "^2.16.1"
},
"autoload": {
"psr-4": { "Gos\\Component\\WebSocketClient\\": "src/" }
Expand Down
3 changes: 1 addition & 2 deletions src/Wamp/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected function read()
{
$stream = $this->socket;

$stream_meta_data = stream_get_meta_data($stream);
$stream_meta_data = stream_get_meta_data($stream);

$max_length = $stream_meta_data['unread_bytes'];

Expand Down Expand Up @@ -232,7 +232,6 @@ public function disconnect()
/**
* Send message to the websocket.
*
*
* @param array $data
*
* @return $this|Client
Expand Down

0 comments on commit 5128829

Please sign in to comment.