Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98ae8ed

Browse filesBrowse files
committed
Apply fixes from StyleCI
1 parent 14c49a7 commit 98ae8ed
Copy full SHA for 98ae8ed

File tree

Expand file treeCollapse file tree

1 file changed

+19
-15
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-15
lines changed

‎tests/Integration/Cache/MemoizedStoreTest.php

Copy file name to clipboardExpand all lines: tests/Integration/Cache/MemoizedStoreTest.php
+19-15Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Illuminate\Support\Facades\Event;
1919
use Illuminate\Support\Facades\Exceptions;
2020
use Illuminate\Support\Facades\Redis;
21-
use Illuminate\Support\Facades\Route;
2221
use Orchestra\Testbench\TestCase;
2322
use Throwable;
2423

@@ -420,50 +419,55 @@ public function test_it_throws_when_underlying_store_does_not_support_locks()
420419
$exceptions[] = $e;
421420
});
422421
Config::set('cache.stores.no-lock', ['driver' => 'no-lock']);
423-
Cache::extend('no-lock', fn () => Cache::repository(new class implements Store {
422+
Cache::extend('no-lock', fn () => Cache::repository(new class implements Store
423+
{
424424
public function get($key)
425425
{
426426
return Cache::get(...func_get_args());
427427
}
428428

429-
public function many(array $keys)
429+
public function many(array $keys)
430430
{
431431
return Cache::many(...func_get_args());
432432
}
433433

434-
public function put($key, $value, $seconds) {
435-
434+
public function put($key, $value, $seconds)
435+
{
436436
return Cache::put(...func_get_args());
437437
}
438438

439-
public function putMany(array $values, $seconds) {
439+
public function putMany(array $values, $seconds)
440+
{
440441
return Cache::putMany(...func_get_args());
441442
}
442443

443-
public function increment($key, $value = 1) {
444-
444+
public function increment($key, $value = 1)
445+
{
445446
return Cache::increment(...func_get_args());
446447
}
447448

448-
public function decrement($key, $value = 1) {
449+
public function decrement($key, $value = 1)
450+
{
449451
return Cache::decrement(...func_get_args());
450452
}
451453

452-
public function forever($key, $value) {
454+
public function forever($key, $value)
455+
{
453456
return Cache::forever(...func_get_args());
454-
455457
}
456458

457-
public function forget($key) {
459+
public function forget($key)
460+
{
458461
return Cache::forget(...func_get_args());
459462
}
460463

461-
public function flush() {
464+
public function flush()
465+
{
462466
return Cache::flush(...func_get_args());
463-
464467
}
465468

466-
public function getPrefix() {
469+
public function getPrefix()
470+
{
467471
return Cache::getPrefix(...func_get_args());
468472
}
469473
}));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.