fix code style

This commit is contained in:
Phil Davis committed 2022-09-09 14:14:34 +05:45
1 parent f626e86b96
commit b7db48b04e
1 file changed
+14 -14
@@ -3148,20 +3148,20 @@ class SpacesContext implements Context {
$this->featureContext->setResponseXmlObject($responseXml); $this->featureContext->setResponseXmlObject($responseXml);
} }
/** /**
* @Then /^as user "([^"]*)" (?:file|folder|entry) "([^"]*)" inside space "([^"]*)" (should|should not) be favorited$/ * @Then /^as user "([^"]*)" (?:file|folder|entry) "([^"]*)" inside space "([^"]*)" (should|should not) be favorited$/
* *
* @param string $user * @param string $user
* @param string $path * @param string $path
* @param string $spaceName * @param string $spaceName
* @param string $shouldOrNot * @param string $shouldOrNot
* *
* @return void * @return void
*/ */
public function asUserFileOrFolderInsideSpaceShouldOrNotBeFavorited(string $user, string $path, string $spaceName, string $shouldOrNot):void { public function asUserFileOrFolderInsideSpaceShouldOrNotBeFavorited(string $user, string $path, string $spaceName, string $shouldOrNot):void {
$this->setSpaceIDByName($user, $spaceName); $this->setSpaceIDByName($user, $spaceName);
$this->favoritesContext->asUserFileOrFolderShouldBeFavorited($user, $path, ($shouldOrNot === 'should') ? 1 : 0); $this->favoritesContext->asUserFileOrFolderShouldBeFavorited($user, $path, ($shouldOrNot === 'should') ? 1 : 0);
} }
/** /**
* @When /^user "([^"]*)" favorites element "([^"]*)" in space "([^"]*)" using the WebDAV API$/ * @When /^user "([^"]*)" favorites element "([^"]*)" in space "([^"]*)" using the WebDAV API$/