diff --git a/src/PublicStream.php b/src/PublicStream.php index c3faedd..b4bcdf0 100644 --- a/src/PublicStream.php +++ b/src/PublicStream.php @@ -11,8 +11,7 @@ public function __construct( string $accessSecret, string $consumerKey, string $consumerSecret - ) - { + ) { $this->stream = $this->createStream( $accessToken, $accessSecret, @@ -24,7 +23,7 @@ public function __construct( public function whenHears(string | array $listenFor, callable $whenHears): self { - if (!is_array($listenFor)) { + if (! is_array($listenFor)) { $listenFor = [$listenFor]; } @@ -46,7 +45,7 @@ public function whenFrom(array $boundingBoxes, callable $whenFrom): self public function whenTweets(string | array $twitterUserIds, callable $whenTweets): self { - if (!is_array($twitterUserIds)) { + if (! is_array($twitterUserIds)) { $twitterUserIds = [$twitterUserIds]; }