Skip to content

Commit

Permalink
Merge pull request #8 from LaraComponents/analysis-qJ4VvV
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
stenin-nikita authored Apr 9, 2017
2 parents 9c6d56b + 3420720 commit 7ce6b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CentrifugeBroadcaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function broadcast(array $channels, $event, array $payload = [])
$payload['event'] = $event;

$socket = null;
if(array_key_exists('socket', $payload)) {
if (array_key_exists('socket', $payload)) {
$socket = $payload['socket'];
unset($payload['socket']);
}
Expand Down

0 comments on commit 7ce6b54

Please sign in to comment.