From f06e459e5d6899be5421b004abe79aa17eceec81 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 30 Jul 2017 21:16:34 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/TL/TLConstructor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/TL/TLConstructor.php b/src/danog/MadelineProto/TL/TLConstructor.php index b5c8d39d..07575241 100644 --- a/src/danog/MadelineProto/TL/TLConstructor.php +++ b/src/danog/MadelineProto/TL/TLConstructor.php @@ -68,7 +68,7 @@ class TLConstructor extends \Volatile if (isset($this->by_predicate_and_layer[$predicate.$alayer])) { $chosenid = $this->by_predicate_and_layer[$predicate.$alayer]; } - } else if (!isset($chosenid)) { + } elseif (!isset($chosenid)) { $chosenid = $this->by_predicate_and_layer[$predicate.$alayer]; } }