From c1832f77bdb09999b859beefdb34eab912a2cf1f Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 13 Aug 2020 08:45:12 +0200 Subject: [PATCH] style(CFPropertyList): follow PSR2 code style Signed-off-by: Thierry Bugier --- src/CFPropertyList/CFPropertyList.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CFPropertyList/CFPropertyList.php b/src/CFPropertyList/CFPropertyList.php index 68884f6..8090d66 100644 --- a/src/CFPropertyList/CFPropertyList.php +++ b/src/CFPropertyList/CFPropertyList.php @@ -409,11 +409,11 @@ protected function import(DOMNode $node, $parent) break; } - // Dictionaries need a key if ($parent instanceof CFDictionary) { + // Dictionaries need a key $parent->add($key, $value); - } // others don't - else { + } else { + // others don't $parent->add($value); } }