Skip to content

Commit a2e1203

Browse files
Merge remote-tracking branch 'origin/3.x' into 3.x
2 parents fddb74a + 3764029 commit a2e1203

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

src/CacheAwareConnectionProxy.php

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Illuminate\Database\Connection;
1212
use Illuminate\Database\ConnectionInterface;
1313
use LogicException;
14+
1415
use function array_shift;
1516
use function base64_encode;
1617
use function cache;
@@ -220,6 +221,7 @@ public function __get(string $name): mixed
220221
* @param string $name
221222
* @param mixed $value
222223
* @return void
224+
*
223225
* @noinspection MagicMethodsValidityInspection
224226
*/
225227
public function __set(string $name, mixed $value): void

src/CacheQueryServiceProvider.php

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ protected function eloquentMacro(): Closure
9595
): EloquentBuilder {
9696
/**
9797
* @var \Illuminate\Database\Eloquent\Builder $this
98+
*
9899
* @phpstan-ignore-next-line
99100
*/
100101
$this->getQuery()->cache($ttl, $key, $store, $wait);

src/Console/Commands/CacheQuery/Forget.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
namespace Laragear\CacheQuery\Console\Commands\CacheQuery;
44

5-
use function array_map;
6-
use function explode;
75
use Illuminate\Console\Command;
86
use Laragear\CacheQuery\CacheQuery;
97

8+
use function array_map;
9+
use function explode;
10+
1011
class Forget extends Command
1112
{
1213
/**

tests/CacheAwareConnectionProxyTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Laragear\CacheQuery\CacheAwareConnectionProxy;
1818
use LogicException;
1919
use Mockery;
20+
2021
use function now;
2122
use function today;
2223

0 commit comments

Comments
 (0)