Skip to content

Commit 8469220

Browse files
committed
Tweaks types and fixes docblocks on non-interface methods
1 parent 1e57da9 commit 8469220

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/Illuminate/Cache/DatabaseStore.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,8 @@ public function flush()
380380

381381
/**
382382
* Remove all items from the cache.
383-
*
384-
* @param string $key
385-
* @return bool
386383
*/
387-
protected function forgetMany(array $keys)
384+
protected function forgetMany(array $keys): bool
388385
{
389386
$this->table()->whereIn('key', array_map(function ($key) {
390387
return $this->prefix.$key;
@@ -395,10 +392,8 @@ protected function forgetMany(array $keys)
395392

396393
/**
397394
* Remove all expired items from the given set from the cache.
398-
*
399-
* @return bool
400395
*/
401-
protected function forgetManyIfExpired(array $keys, bool $prefixed = false)
396+
protected function forgetManyIfExpired(array $keys, bool $prefixed = false): bool
402397
{
403398
$this->table()
404399
->whereIn('key', $prefixed ? $keys : array_map(function ($key) {

0 commit comments

Comments
 (0)