File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ private function unset(QuadCompareInterface | callable $offset): void {
272272 }
273273
274274 public function map (callable $ fn ,
275- QuadCompareInterface | QuadIteratorInterface | QuadIteratorAggregateInterface | callable $ filter | null = null ): Dataset {
275+ QuadCompareInterface | QuadIteratorInterface | QuadIteratorAggregateInterface | callable | null $ filter = null ): Dataset {
276276 $ ret = new Dataset ();
277277 $ idx = $ this ->findMatchingQuads ($ filter );
278278 foreach ($ idx as $ i ) {
@@ -282,7 +282,7 @@ public function map(callable $fn,
282282 }
283283
284284 public function reduce (callable $ fn , $ initialValue = null ,
285- QuadCompareInterface | QuadIteratorInterface | QuadIteratorAggregateInterface | callable $ filter | null = null ): mixed {
285+ QuadCompareInterface | QuadIteratorInterface | QuadIteratorAggregateInterface | callable | null $ filter = null ): mixed {
286286 $ idx = $ this ->findMatchingQuads ($ filter );
287287 foreach ($ idx as $ i ) {
288288 $ initialValue = $ fn ($ initialValue , $ this ->quads [$ i ], $ this );
You can’t perform that action at this time.
0 commit comments