We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e73a226 commit 210b064Copy full SHA for 210b064
1 file changed
src/VerifierServer/SS14PersistentState.php
@@ -88,9 +88,11 @@ protected function initializeDatabase(): void
88
public function &getVerifyList(bool $getLocalCache = false): array
89
{
90
if ($this->storageType === 'filesystem' || $getLocalCache) {
91
- return isset($this->verifyList)
92
- ? $this->verifyList
93
- : $this->verifyList = self::loadJsonFile($this->getJsonPath());
+ if (isset($this->verifyList)) return $this->verifyList;
+ else {
+ $this->verifyList = self::loadJsonFile($this->getJsonPath());
94
+ return $this->verifyList;
95
+ }
96
}
97
$stmt = $this->pdo->query("SELECT * FROM {$this->table_name}");
98
if ($stmt === false) {
0 commit comments