original_string: public function getFirstEditedNotSeen()
      {
          return $this
                  ->hasOne(Post::className(), ['thread_id' => 'id'])
                  ->where(['>', 'edited_at', $this->userView ? $this->userView->edited_last_seen : 0])
                  ->orderBy(['id' => SORT_ASC]);
      }
code: public function getFirstEditedNotSeen()
      {
          return $this
                  ->hasOne(Post::className(), ['thread_id' => 'id'])
                  ->where(['>', 'edited_at', $this->userView ? $this->userView->edited_last_seen : 0])
                  ->orderBy(['id' => SORT_ASC]);
      }
code_tokens: public function getFirstEditedNotSeen ( ) { return $ this -> hasOne ( Post :: className ( ) , [ 'thread_id' => 'id' ] ) -> where ( [ '>' , 'edited_at' , $ this -> userView ? $ this -> userView -> edited_last_seen : 0 ] ) -> orderBy ( [ 'id' => SORT_ASC ] ) ; }
docstring: First edited not seen post relation.
  @return Post
docstring_tokens: First edited not seen post relation .