Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/CacheAwareConnectionProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

namespace Laragear\CacheQuery;

use function array_shift;
use function base64_encode;
use function cache;
use function config;
use DateInterval;
use DateTimeInterface;
use Illuminate\Cache\NoLock;
use Illuminate\Contracts\Cache\Lock;
use Illuminate\Contracts\Cache\LockProvider;
use Illuminate\Contracts\Cache\Repository;
use Illuminate\Database\ConnectionInterface;
use LogicException;
use function array_shift;
use function base64_encode;
use function cache;
use function config;
use function implode;
use function is_int;
use LogicException;
use function max;
use function md5;
use function rtrim;
Expand Down
2 changes: 1 addition & 1 deletion src/CacheQueryServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function eloquentMacro(): Closure
): EloquentBuilder {
/**
* @var \Illuminate\Database\Eloquent\Builder $this
* @phpstan-ignore-next-line
* @phpstan-ignore-next-line
*/
$this->getQuery()->cache($ttl, $key, $store, $wait);

Expand Down
4 changes: 2 additions & 2 deletions src/Console/Commands/CacheQuery/Forget.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Laragear\CacheQuery\Console\Commands\CacheQuery;

use Illuminate\Console\Command;
use Laragear\CacheQuery\CacheQuery;
use function array_map;
use function explode;
use Illuminate\Console\Command;
use Laragear\CacheQuery\CacheQuery;

class Forget extends Command
{
Expand Down