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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/Turn/Delete.php')
-rw-r--r--lib/Command/Turn/Delete.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Command/Turn/Delete.php b/lib/Command/Turn/Delete.php
index cb6d5bec4..2f09a2940 100644
--- a/lib/Command/Turn/Delete.php
+++ b/lib/Command/Turn/Delete.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
/**
* @copyright Copyright (c) 2018 Denis Mosolov <denismosolov@gmail.com>
@@ -68,7 +69,7 @@ class Delete extends Base {
$count = count($servers);
// remove all occurrences which math $server and $protocols
- $servers = array_filter($servers, function($s) use ($server, $protocols) {
+ $servers = array_filter($servers, function ($s) use ($server, $protocols) {
return $s['server'] !== $server || $s['protocols'] !== $protocols;
});
$servers = array_values($servers); // reindex