diff options
Diffstat (limited to 'lib/Command/Stun/Delete.php')
-rw-r--r-- | lib/Command/Stun/Delete.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Command/Stun/Delete.php b/lib/Command/Stun/Delete.php index 46f7aaf0a..2128dffba 100644 --- a/lib/Command/Stun/Delete.php +++ b/lib/Command/Stun/Delete.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2018 Denis Mosolov <denismosolov@gmail.com> @@ -61,7 +62,7 @@ class Delete extends Base { } $count = count($servers); // remove all occurrences of $server - $servers = array_filter($servers, function($s) use ($server) { + $servers = array_filter($servers, function ($s) use ($server) { return $s !== $server; }); $servers = array_values($servers); // reindex |