From cf784f5c0a3cd25af5b77a571ad7a36a97d49fa5 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 25 Mar 2019 13:22:36 +1300 Subject: [PATCH] Use strict comparison --- src/Solr/Tasks/Solr_Configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Solr/Tasks/Solr_Configure.php b/src/Solr/Tasks/Solr_Configure.php index 05e1634..4ee6690 100644 --- a/src/Solr/Tasks/Solr_Configure.php +++ b/src/Solr/Tasks/Solr_Configure.php @@ -94,7 +94,7 @@ class Solr_Configure extends Solr_BuildTask if ($mode === 'webdav') { return new SolrConfigStore_WebDAV($indexstore); } - if ($mode == 'post') { + if ($mode === 'post') { return new SolrConfigStore_Post($indexstore); } if (ClassInfo::exists($mode) && ClassInfo::classImplements($mode, SolrConfigStore::class)) {