Use strict comparison

This commit is contained in:
Robbie Averill 2019-03-25 13:22:36 +13:00
parent ea91cf5a3c
commit cf784f5c0a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {