src/Collection.php
public function getClient($id = null)
    {
        if ($id === null) {
            $id = array_keys($this->getClients())[0];
        }

        return parent::getClient($id);
    }
public function getClient($id = null)
    {
        if ($id === null) {
            $id = array_keys($this->getClients())[0];
        }

        return parent::getClient($id);
    }
public function getClient ( $ id = null ) { if ( $ id === null ) { $ id = array_keys ( $ this -> getClients ( ) ) [ 0 ] ; } return parent :: getClient ( $ id ) ; }
Gets first client by default.
Gets first client by default .