original_string: public function getPasswordHistories()
      {
          if (empty($this->passwordHistoryClass) || !class_exists($this->passwordHistoryClass)) {
              return false;
          }
          $class = $this->passwordHistoryClass;
          return $class::find()->createdBy($this)->orderByCreatedAt(SORT_DESC)->all();
      }
code: public function getPasswordHistories()
      {
          if (empty($this->passwordHistoryClass) || !class_exists($this->passwordHistoryClass)) {
              return false;
          }
          $class = $this->passwordHistoryClass;
          return $class::find()->createdBy($this)->orderByCreatedAt(SORT_DESC)->all();
      }
code_tokens: public function getPasswordHistories ( ) { if ( empty ( $ this -> passwordHistoryClass ) || ! class_exists ( $ this -> passwordHistoryClass ) ) { return false ; } $ class = $ this -> passwordHistoryClass ; return $ class :: find ( ) -> createdBy ( $ this ) -> orderByCreatedAt ( SORT_DESC ) -> all ( ) ; }
docstring: Get all password histories sorted by creation time in descending order.
  @return boolean|PasswordHistory[] False if password history class is invalid.
docstring_tokens: Get all password histories sorted by creation time in descending order .