]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix PHP CS
authorJoas Schilling <coding@schilljs.com>
Wed, 31 Mar 2021 08:08:43 +0000 (10:08 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 20 Apr 2021 14:43:43 +0000 (16:43 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/L10N/L10NString.php

index 0722057de02aa08a6d4e8d04e964d8e1e9579008..9d219ea1772ac740068dcec88bbbce2029f624a8 100644 (file)
@@ -74,7 +74,7 @@ class L10NString implements \JsonSerializable {
                        }
 
                        $identity = implode('|', $identity);
-               } else if (strpos($identity, '|') !== false) {
+               } elseif (strpos($identity, '|') !== false) {
                        return 'Can not use pipe character in translations';
                }