From b7db48b04e362f49140d0ac1148e8a6b59f7eb3c Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 9 Sep 2022 14:14:10 +0545 Subject: [PATCH] fix code style --- .../features/bootstrap/SpacesContext.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index f0f52a2d16..47eb867fa9 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -3148,20 +3148,20 @@ class SpacesContext implements Context { $this->featureContext->setResponseXmlObject($responseXml); } - /** - * @Then /^as user "([^"]*)" (?:file|folder|entry) "([^"]*)" inside space "([^"]*)" (should|should not) be favorited$/ - * - * @param string $user - * @param string $path - * @param string $spaceName - * @param string $shouldOrNot - * - * @return void - */ - public function asUserFileOrFolderInsideSpaceShouldOrNotBeFavorited(string $user, string $path, string $spaceName, string $shouldOrNot):void { - $this->setSpaceIDByName($user, $spaceName); - $this->favoritesContext->asUserFileOrFolderShouldBeFavorited($user, $path, ($shouldOrNot === 'should') ? 1 : 0); - } + /** + * @Then /^as user "([^"]*)" (?:file|folder|entry) "([^"]*)" inside space "([^"]*)" (should|should not) be favorited$/ + * + * @param string $user + * @param string $path + * @param string $spaceName + * @param string $shouldOrNot + * + * @return void + */ + public function asUserFileOrFolderInsideSpaceShouldOrNotBeFavorited(string $user, string $path, string $spaceName, string $shouldOrNot):void { + $this->setSpaceIDByName($user, $spaceName); + $this->favoritesContext->asUserFileOrFolderShouldBeFavorited($user, $path, ($shouldOrNot === 'should') ? 1 : 0); + } /** * @When /^user "([^"]*)" favorites element "([^"]*)" in space "([^"]*)" using the WebDAV API$/