original_string: public function checkToken($token)
      {
          return (bool) $this->token()->where('token', $token)->where('expiration_date', '>', Carbon::now())->count();
      }
code: public function checkToken($token)
      {
          return (bool) $this->token()->where('token', $token)->where('expiration_date', '>', Carbon::now())->count();
      }
code_tokens: public function checkToken ( $ token ) { return ( bool ) $ this -> token ( ) -> where ( 'token' , $ token ) -> where ( 'expiration_date' , '>' , Carbon :: now ( ) ) -> count ( ) ; }
docstring: Check the token.
  @param   string  $token
  @return  boolean
docstring_tokens: Check the token .