Skip to content

Commit 6b60ac5

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 5b0e4c3 + 537463e commit 6b60ac5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"license": "MIT",
66
"authors": [
77
{
8-
"name": "Hareland",
9-
"email": "mrhareland+packagist@gmail.com",
8+
"name": "hareland",
9+
"email": "packagist@proton.me",
1010
"homepage": "https://github.com/hareland"
1111
}
1212
],

readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Build](https://github.com/hareland/multi-cache-remember/actions/workflows/pest.yml/badge.svg)](https://github.com/hareland/multi-cache-remember/actions/workflows/pest.yml)
2+
[![Total Downloads](https://img.shields.io/packagist/dt/hareland/multi-cache-remember.svg?style=flat-square)](https://packagist.org/packages/hareland/multi-cache-remember)
23
### What does this package solve?
34

45
---

tests/Feature/MultiCacheMacroTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Illuminate\Support\Facades\Cache;
44

5-
it('throws exception if only keys are passed.', function () {
5+
it('gets existing items using only values as keys', function () {
66
Cache::put('foo', 'bar');
77
$result = Cache::rememberMany([
88
'foo',
@@ -52,4 +52,4 @@
5252
$result = Cache::rememberMany([], 30);
5353

5454
expect($result)->toBe([]);
55-
});
55+
});

0 commit comments

Comments
 (0)