Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/documentserver_community.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IPC/IPCFactory.php')
-rw-r--r--lib/IPC/IPCFactory.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/IPC/IPCFactory.php b/lib/IPC/IPCFactory.php
index e65027f..943d3f9 100644
--- a/lib/IPC/IPCFactory.php
+++ b/lib/IPC/IPCFactory.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2019 Robin Appelman <robin@icewind.nl>
*
@@ -35,10 +37,10 @@ class IPCFactory implements IIPCFactory {
*/
private function getBackend() {
/** @var IIPCBackendFactory[] $backends */
- $backends = array_filter($this->backendFactories, function(IIPCBackendFactory $backendFactory) {
+ $backends = array_filter($this->backendFactories, function (IIPCBackendFactory $backendFactory) {
return $backendFactory->isAvailable();
});
- usort($backends, function(IIPCBackendFactory $a, IIPCBackendFactory $b) {
+ usort($backends, function (IIPCBackendFactory $a, IIPCBackendFactory $b) {
return $a->getPriority() - $b->getPriority();
});