src/Api/Community.php
public function game() : ?Game
    {
        if (!isset($this->info()->titleId)) return null;

        return new Game($this->client, $this->info()->titleId);
    }
public function game() : ?Game
    {
        if (!isset($this->info()->titleId)) return null;

        return new Game($this->client, $this->info()->titleId);
    }
public function game ( ) : ? Game { if ( ! isset ( $ this -> info ( ) -> titleId ) ) return null ; return new Game ( $ this -> client , $ this -> info ( ) -> titleId ) ; }
Gets the Game the Community is associated with.

@return Game|null
Gets the Game the Community is associated with .