Change snip and tag entities to public columns
This commit is contained in:
@ -25,7 +25,7 @@ class SnipLoader implements LoaderInterface
|
||||
|
||||
public function getCacheKey(string $name): string
|
||||
{
|
||||
return $this->getFromKey($name)->getActiveVersion()->getId();
|
||||
return $this->getFromKey($name)->activeVersion->getId();
|
||||
}
|
||||
|
||||
public function isFresh(string $name, int $time): bool
|
||||
@ -58,4 +58,4 @@ class SnipLoader implements LoaderInterface
|
||||
|
||||
return $snip;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user