Skip to content

Commit 2dd35f4

Browse files
committed
Replace sizeof() to count() on event UserStatusChanged
1 parent a3cae3f commit 2dd35f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Events/UserStatusChanged.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function broadcastAs()
6767
*/
6868
public function broadcastWhen()
6969
{
70-
return sizeof($this->recipients) > 0;
70+
return count($this->recipients) > 0;
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)