original_string: public function loggedUser($id)
      {
          if (Podium::getInstance()->userComponent !== true) {
              return $this->andWhere(['inherited_id' => $id]);
          }
          return $this->andWhere(['id' => $id]);
      }
code: public function loggedUser($id)
      {
          if (Podium::getInstance()->userComponent !== true) {
              return $this->andWhere(['inherited_id' => $id]);
          }
          return $this->andWhere(['id' => $id]);
      }
code_tokens: public function loggedUser ( $ id ) { if ( Podium :: getInstance ( ) -> userComponent !== true ) { return $ this -> andWhere ( [ 'inherited_id' => $ id ] ) ; } return $ this -> andWhere ( [ 'id' => $ id ] ) ; }
docstring: Adds proper user ID for query.
  @param int $id
docstring_tokens: Adds proper user ID for query .