summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /apps/workflowengine/lib
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r--apps/workflowengine/lib/Check/AbstractStringCheck.php2
-rw-r--r--apps/workflowengine/lib/Check/RequestURL.php2
-rw-r--r--apps/workflowengine/lib/Settings/ASettings.php6
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/workflowengine/lib/Check/AbstractStringCheck.php b/apps/workflowengine/lib/Check/AbstractStringCheck.php
index 4b294678fbd..e0de77a852b 100644
--- a/apps/workflowengine/lib/Check/AbstractStringCheck.php
+++ b/apps/workflowengine/lib/Check/AbstractStringCheck.php
@@ -50,7 +50,7 @@ abstract class AbstractStringCheck implements ICheck {
* @param string $value
* @return bool
*/
- public function executeCheck($operator, $value) {
+ public function executeCheck($operator, $value) {
$actualValue = $this->getActualValue();
return $this->executeStringCheck($operator, $value, $actualValue);
}
diff --git a/apps/workflowengine/lib/Check/RequestURL.php b/apps/workflowengine/lib/Check/RequestURL.php
index 4c933c19ace..30424a1ee47 100644
--- a/apps/workflowengine/lib/Check/RequestURL.php
+++ b/apps/workflowengine/lib/Check/RequestURL.php
@@ -46,7 +46,7 @@ class RequestURL extends AbstractStringCheck {
* @param string $value
* @return bool
*/
- public function executeCheck($operator, $value) {
+ public function executeCheck($operator, $value) {
$actualValue = $this->getActualValue();
if (in_array($operator, ['is', '!is'])) {
switch ($value) {
diff --git a/apps/workflowengine/lib/Settings/ASettings.php b/apps/workflowengine/lib/Settings/ASettings.php
index 2bf7dd0218e..b2db7d12364 100644
--- a/apps/workflowengine/lib/Settings/ASettings.php
+++ b/apps/workflowengine/lib/Settings/ASettings.php
@@ -147,7 +147,7 @@ abstract class ASettings implements ISettings {
private function entitiesToArray(array $entities) {
return array_map(function (IEntity $entity) {
- $events = array_map(function(IEntityEvent $entityEvent) {
+ $events = array_map(function (IEntityEvent $entityEvent) {
return [
'eventName' => $entityEvent->getEventName(),
'displayName' => $entityEvent->getDisplayName()
@@ -164,7 +164,7 @@ abstract class ASettings implements ISettings {
}
private function operatorsToArray(array $operators) {
- $operators = array_filter($operators, function(IOperation $operator) {
+ $operators = array_filter($operators, function (IOperation $operator) {
return $operator->isAvailableForScope($this->getScope());
});
@@ -182,7 +182,7 @@ abstract class ASettings implements ISettings {
}
private function checksToArray(array $checks) {
- $checks = array_filter($checks, function(ICheck $check) {
+ $checks = array_filter($checks, function (ICheck $check) {
return $check->isAvailableForScope($this->getScope());
});