@@ -69,22 +69,22 @@ public function store(Collection $items): void
69
69
}, ['count ' => [], 'min ' => [], 'max ' => [], 'sum ' => [], 'avg ' => []])
70
70
);
71
71
72
- $ countChunks = $ this ->preaggregateCounts (collect ($ counts )) // @phpstan-ignore argument.templateType argument.templateType
72
+ $ countChunks = $ this ->preaggregateCounts (collect ($ counts )) // @phpstan-ignore argument.templateType, argument.templateType
73
73
->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
74
74
75
- $ minimumChunks = $ this ->preaggregateMinimums (collect ($ minimums )) // @phpstan-ignore argument.templateType argument.templateType
75
+ $ minimumChunks = $ this ->preaggregateMinimums (collect ($ minimums )) // @phpstan-ignore argument.templateType, argument.templateType
76
76
->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
77
77
78
- $ maximumChunks = $ this ->preaggregateMaximums (collect ($ maximums )) // @phpstan-ignore argument.templateType argument.templateType
78
+ $ maximumChunks = $ this ->preaggregateMaximums (collect ($ maximums )) // @phpstan-ignore argument.templateType, argument.templateType
79
79
->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
80
80
81
- $ sumChunks = $ this ->preaggregateSums (collect ($ sums )) // @phpstan-ignore argument.templateType argument.templateType
81
+ $ sumChunks = $ this ->preaggregateSums (collect ($ sums )) // @phpstan-ignore argument.templateType, argument.templateType
82
82
->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
83
83
84
- $ averageChunks = $ this ->preaggregateAverages (collect ($ averages )) // @phpstan-ignore argument.templateType argument.templateType
84
+ $ averageChunks = $ this ->preaggregateAverages (collect ($ averages )) // @phpstan-ignore argument.templateType, argument.templateType
85
85
->chunk ($ this ->config ->get ('pulse.storage.database.chunk ' ));
86
86
87
- $ valueChunks = $ this
87
+ $ valueChunks = $ this // @phpstan-ignore argument.templateType
88
88
->collapseValues ($ values )
89
89
->when (
90
90
$ this ->requiresManualKeyHash (),
@@ -464,7 +464,7 @@ public function graph(array $types, string $aggregate, CarbonInterval $interval)
464
464
465
465
$ structure = collect ($ types )->mapWithKeys (fn ($ type ) => [$ type => $ padding ]);
466
466
467
- return $ this ->connection ()->table ('pulse_aggregates ' ) // @phpstan-ignore return.type
467
+ return $ this ->connection ()->table ('pulse_aggregates ' )
468
468
->select (['bucket ' , 'type ' , 'key ' , 'value ' ])
469
469
->whereIn ('type ' , $ types )
470
470
->where ('aggregate ' , $ aggregate )
@@ -725,7 +725,7 @@ public function aggregateTotal(
725
725
$ tailStart = $ windowStart ;
726
726
$ tailEnd = $ oldestBucket - 1 ;
727
727
728
- return $ this ->connection ()->query ()
728
+ return $ this ->connection ()->query () // @phpstan-ignore return.type
729
729
->when (is_array ($ types ), fn ($ query ) => $ query ->addSelect ('type ' ))
730
730
->selectRaw (match ($ aggregate ) {
731
731
'count ' => "sum( {$ this ->wrap ('count ' )}) " ,
0 commit comments