Skip to content

Commit ed51bc4

Browse files
committed
Fix static analysis
1 parent 7f2c04a commit ed51bc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Storage/DatabaseStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ public function store(Collection $items): void
8484
$averageChunks = $this->preaggregateAverages(collect($averages)) // @phpstan-ignore argument.templateType, argument.templateType
8585
->chunk($this->config->get('pulse.storage.database.chunk'));
8686

87-
$valueChunks = $this // @phpstan-ignore argument.templateType
87+
$valueChunks = $this // @phpstan-ignore method.nonObject
8888
->collapseValues($values)
8989
->when(
9090
$this->requiresManualKeyHash(),
9191
fn ($values) => $values->map(fn ($value) => [
9292
...($attributes = $value->attributes()),
9393
'key_hash' => md5($attributes['key']),
9494
]),
95-
fn ($values) => $values->map->attributes() // @phpstan-ignore method.notFound
95+
fn ($values) => $values->map->attributes()
9696
)
9797
->chunk($this->config->get('pulse.storage.database.chunk'));
9898

0 commit comments

Comments
 (0)