@@ -69,22 +69,22 @@ public function store(Collection $items): void
6969 }, ['count ' => [], 'min ' => [], 'max ' => [], 'sum ' => [], 'avg ' => []])
7070 );
7171
72- $ countChunks = $ this ->preaggregateCounts (collect ($ counts )) // @phpstan-ignore argument.templateType argument.templateType
72+ $ countChunks = $ this ->preaggregateCounts (collect ($ counts )) // @phpstan-ignore argument.templateType, argument.templateType
7373 ->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
7474
75- $ minimumChunks = $ this ->preaggregateMinimums (collect ($ minimums )) // @phpstan-ignore argument.templateType argument.templateType
75+ $ minimumChunks = $ this ->preaggregateMinimums (collect ($ minimums )) // @phpstan-ignore argument.templateType, argument.templateType
7676 ->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
7777
78- $ maximumChunks = $ this ->preaggregateMaximums (collect ($ maximums )) // @phpstan-ignore argument.templateType argument.templateType
78+ $ maximumChunks = $ this ->preaggregateMaximums (collect ($ maximums )) // @phpstan-ignore argument.templateType, argument.templateType
7979 ->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
8080
81- $ sumChunks = $ this ->preaggregateSums (collect ($ sums )) // @phpstan-ignore argument.templateType argument.templateType
81+ $ sumChunks = $ this ->preaggregateSums (collect ($ sums )) // @phpstan-ignore argument.templateType, argument.templateType
8282 ->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
8383
84- $ averageChunks = $ this ->preaggregateAverages (collect ($ averages )) // @phpstan-ignore argument.templateType argument.templateType
84+ $ averageChunks = $ this ->preaggregateAverages (collect ($ averages )) // @phpstan-ignore argument.templateType, argument.templateType
8585 ->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
8686
87- $ valueChunks = $ this
87+ $ valueChunks = $ this // @phpstan-ignore argument.templateType
8888 ->collapseValues ($ values )
8989 ->when (
9090 $ this ->requiresManualKeyHash (),
@@ -464,7 +464,7 @@ public function graph(array $types, string $aggregate, CarbonInterval $interval)
464464
465465 $ structure = collect ($ types )->mapWithKeys (fn ($ type ) => [$ type => $ padding ]);
466466
467- return $ this ->connection ()->table ('pulse_aggregates ' ) // @phpstan-ignore return.type
467+ return $ this ->connection ()->table ('pulse_aggregates ' )
468468 ->select (['bucket ' , 'type ' , 'key ' , 'value ' ])
469469 ->whereIn ('type ' , $ types )
470470 ->where ('aggregate ' , $ aggregate )
@@ -725,7 +725,7 @@ public function aggregateTotal(
725725 $ tailStart = $ windowStart ;
726726 $ tailEnd = $ oldestBucket - 1 ;
727727
728- return $ this ->connection ()->query ()
728+ return $ this ->connection ()->query () // @phpstan-ignore return.type
729729 ->when (is_array ($ types ), fn ($ query ) => $ query ->addSelect ('type ' ))
730730 ->selectRaw (match ($ aggregate ) {
731731 'count ' => "sum( {$ this ->wrap ('count ' )}) " ,
0 commit comments