mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup.
This commit is contained in:
@@ -50,7 +50,7 @@ class CacheProperties
|
||||
/**
|
||||
* @param $property
|
||||
*/
|
||||
public function addProperty($property)
|
||||
public function addProperty($property): void
|
||||
{
|
||||
$this->properties->push($property);
|
||||
}
|
||||
@@ -87,14 +87,14 @@ class CacheProperties
|
||||
/**
|
||||
* @param $data
|
||||
*/
|
||||
public function store($data)
|
||||
public function store($data): void
|
||||
{
|
||||
Cache::forever($this->hash, $data);
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
private function hash()
|
||||
private function hash(): void
|
||||
{
|
||||
$content = '';
|
||||
foreach ($this->properties as $property) {
|
||||
|
Reference in New Issue
Block a user