Skip to content

Commit

Permalink
style fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshamgurung committed Oct 29, 2021
1 parent 35e2a3c commit d83e0dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/acceptance/features/bootstrap/OccContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ public function theOrphanedRemoteStorageShouldBeCleared(int $noOfOrphanedShare):
// calculating total no of shares deleted from remote storage: first getting total length of the array
// then minus 2 for first two lines of scan info message
// then divide by 2 because each share delete has message of two line
$totalSharesDeleted = (count($outputLines)-2)/2;
$totalSharesDeleted = (\count($outputLines) - 2) / 2;
Assert::assertEquals(
$noOfOrphanedShare,
$totalSharesDeleted,
Expand Down Expand Up @@ -1025,6 +1025,7 @@ public function theAdministratorHasSetTheDefaultFolderForReceivedSharesTo(string
* @param int $depth_infinity_allowed
*
* @return void
* @throws Exception
*/
public function theAdministratorHasSetDepthInfinityAllowedTo($depth_infinity_allowed) {
$this->addSystemConfigKeyUsingTheOccCommand(
Expand Down Expand Up @@ -2245,10 +2246,10 @@ public function administratorHasDeletedLocalStorageFolderUsingTheOccCommand(stri
* @param string $folder
* @param bool $mustExist
*
* @return integer
* @return integer|bool
* @throws Exception
*/
public function deleteLocalStorageFolderUsingTheOccCommand(string $folder, bool $mustExist = true):int {
public function deleteLocalStorageFolderUsingTheOccCommand(string $folder, bool $mustExist = true) {
$createdLocalStorage = [];
$this->listLocalStorageMount();
$commandOutput = \json_decode($this->featureContext->getStdOutOfOccCommand());
Expand Down Expand Up @@ -2572,7 +2573,6 @@ public function theAdministratorDeletesAllTheVersionsForUser(string $user):void
/**
* @When the administrator cleanups all the orphaned remote storages of shares
*
*
* @return void
* @throws Exception
*/
Expand Down Expand Up @@ -2841,10 +2841,10 @@ public function theAdministratorHasClearedTheVersionsForAllUsers():void {
*
* @param string $job
*
* @return string
* @return string|bool
* @throws Exception
*/
public function getLastJobIdForJob(string $job):string {
public function getLastJobIdForJob(string $job) {
$this->getAllJobsInBackgroundQueueUsingOccCommand();
$commandOutput = $this->featureContext->getStdOutOfOccCommand();
$lines = SetupHelper::findLines(
Expand Down

0 comments on commit d83e0dc

Please sign in to comment.