diff options
Diffstat (limited to 'lib/IPC/IPCFactory.php')
-rw-r--r-- | lib/IPC/IPCFactory.php | 8 |
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(); }); |