Skip to content

Commit

Permalink
Remove experimentation with first callable syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Oct 17, 2023
1 parent 3f5ae65 commit 83661c2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/Builder/BuilderEncoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,12 @@ public function testSetWindowFields(): void

public function testUnionWith(): void
{
$unionWith = Stage::unionWith(...);
$match = Stage::match(...);
$project = Stage::project(...);
$pipeline = new Pipeline(
$unionWith(
Stage::unionWith(
coll: 'orders',
pipeline: new Pipeline(
$match(status: 'A'),
$project(
Stage::match(status: 'A'),
Stage::project(
item: 1,
status: 1,
),
Expand Down

0 comments on commit 83661c2

Please sign in to comment.