Skip to content

Commit

Permalink
Code style DetailsDialog.php
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Nov 2, 2018
1 parent 4303b65 commit 4a8f0ec
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tests/acceptance/features/lib/FilesPageElement/DetailsDialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,9 @@ private function getCommentXpath($content) {
/**
* find the xpath of version list
*
* @param string $content
*
* @return string
*/public function getVersionsList() {
*/
public function getVersionsList() {
$versionsList = $this->find("xpath", $this->versionsListXpath);
$this->assertElementNotNull(
$versionsList,
Expand All @@ -136,10 +135,9 @@ private function getCommentXpath($content) {
/**
* find the xpath of button to revert to last version
*
* @param string $content
*
* @return
*/public function getLastVersionRevertButton() {
* @return void
*/
public function getLastVersionRevertButton() {
$btn = $this->find("xpath", $this->lastVersionRevertButton);
$this->assertElementNotNull(
$btn,
Expand Down Expand Up @@ -411,6 +409,9 @@ public function getTagsDropDownResultsXpath() {
"//span[@class='label']";
}

/**
* @return void
*/
public function restoreCurrentFileToLastVersion() {
$revertBtn = $this->getLastVersionRevertButton();
$revertBtn->click();
Expand Down

0 comments on commit 4a8f0ec

Please sign in to comment.