From 97891b5fa393eebbe4b62427cbf1f9f2b27f2752 Mon Sep 17 00:00:00 2001 From: Guy Date: Wed, 27 Jun 2018 16:54:08 +1200 Subject: [PATCH] Fixing linting issue that couldn't be automatically resolved --- src/Search/Updaters/SearchUpdater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Search/Updaters/SearchUpdater.php b/src/Search/Updaters/SearchUpdater.php index 5d84047..f3a8b45 100644 --- a/src/Search/Updaters/SearchUpdater.php +++ b/src/Search/Updaters/SearchUpdater.php @@ -105,8 +105,8 @@ class SearchUpdater 'command' => $command, 'fields' => array() ); - } // Otherwise update the class label if it's more specific than the currently recorded one - elseif (is_subclass_of($class, $writes[$key]['class'])) { + } elseif (is_subclass_of($class, $writes[$key]['class'])) { + // Otherwise update the class label if it's more specific than the currently recorded one $writes[$key]['class'] = $class; }