Use strict comparison
This commit is contained in:
parent
ea91cf5a3c
commit
cf784f5c0a
|
@ -94,7 +94,7 @@ class Solr_Configure extends Solr_BuildTask
|
||||||
if ($mode === 'webdav') {
|
if ($mode === 'webdav') {
|
||||||
return new SolrConfigStore_WebDAV($indexstore);
|
return new SolrConfigStore_WebDAV($indexstore);
|
||||||
}
|
}
|
||||||
if ($mode == 'post') {
|
if ($mode === 'post') {
|
||||||
return new SolrConfigStore_Post($indexstore);
|
return new SolrConfigStore_Post($indexstore);
|
||||||
}
|
}
|
||||||
if (ClassInfo::exists($mode) && ClassInfo::classImplements($mode, SolrConfigStore::class)) {
|
if (ClassInfo::exists($mode) && ClassInfo::classImplements($mode, SolrConfigStore::class)) {
|
||||||
|
|
Loading…
Reference in New Issue