rector: arrrrr
This commit is contained in:
@@ -13,7 +13,7 @@ class DatabaseStatusChanged implements ShouldBroadcast
|
||||
{
|
||||
use Dispatchable, InteractsWithSockets, SerializesModels;
|
||||
|
||||
public $userId = null;
|
||||
public $userId;
|
||||
|
||||
public function __construct($userId = null)
|
||||
{
|
||||
@@ -21,7 +21,7 @@ class DatabaseStatusChanged implements ShouldBroadcast
|
||||
$userId = Auth::id() ?? null;
|
||||
}
|
||||
if (is_null($userId)) {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
$this->userId = $userId;
|
||||
|
||||
Reference in New Issue
Block a user