public function find($id)
    {
        return $this->filter(function (Contract $stat) use ($id) {
            return $stat->getSkill()->getId() === $id;
        })->first();
    }
public function find($id)
    {
        return $this->filter(function (Contract $stat) use ($id) {
            return $stat->getSkill()->getId() === $id;
        })->first();
    }
public function find ( $ id ) { return $ this -> filter ( function ( Contract $ stat ) use ( $ id ) { return $ stat -> getSkill ( ) -> getId ( ) === $ id ; } ) -> first ( ) ; }
Find a stat by the given skill ID

@param $id
@return \Burthorpe\Runescape\RS3\Stats\Contract|null
Find a stat by the given skill ID