Skip to content

Commit

Permalink
Fix PHP deprecation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Nov 20, 2024
1 parent 286c663 commit 2006186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Stubs/NotInstantiableDocumentEnhancer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class NotInstantiableDocumentEnhancer implements DocumentEnhancer
{
public function __construct(\DateTime $foo = null, \DateTime $bar) {}
public function __construct(\DateTime $bar, \DateTime $foo = null) {}

public function enhance(BSONDocument $document, Envelope $envelope): void {}
}

0 comments on commit 2006186

Please sign in to comment.