fix wrong logical check (#7282)
Forgot to remove the '!' (not) operator from the cache check when re-organizing the update cache function
This commit is contained in:
parent
863de97270
commit
f8e1e81546
|
|
@ -55,7 +55,7 @@ class auto_loader {
|
||||||
|
|
||||||
public function update_cache(string $file = ''): bool {
|
public function update_cache(string $file = ''): bool {
|
||||||
//guard against writing an empty file
|
//guard against writing an empty file
|
||||||
if (!empty($this->classes)) {
|
if (empty($this->classes)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue