original_string: public function toUser($token = false)
      {
          $payload = $this->getPayload($token);
  
          if (! $user = $this->user->getBy($this->identifier, $payload['sub'])) {
              return false;
          }
  
          return $user;
      }
code: public function toUser($token = false)
      {
          $payload = $this->getPayload($token);
  
          if (! $user = $this->user->getBy($this->identifier, $payload['sub'])) {
              return false;
          }
  
          return $user;
      }
code_tokens: public function toUser ( $ token = false ) { $ payload = $ this -> getPayload ( $ token ) ; if ( ! $ user = $ this -> user -> getBy ( $ this -> identifier , $ payload [ 'sub' ] ) ) { return false ; } return $ user ; }
docstring: Find a user using the user identifier in the subject claim.
  
  @param bool|string $token
  
  @return mixed
docstring_tokens: Find a user using the user identifier in the subject claim .