Skip to content

Commit

Permalink
Merge pull request #21 from anywherecreative/fix-depreciation-error
Browse files Browse the repository at this point in the history
allow nullable type
  • Loading branch information
yetanotherape authored Feb 16, 2025
2 parents ba42aa0 + d426bf8 commit 3f618bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Patch.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Patch
* @param Diff|null $diff
* @param Matcher|null $matcher
*/
public function __construct(Diff $diff = null, Matcher $matcher = null)
public function __construct(?Diff $diff = null, ?Matcher $matcher = null)
{
if (!isset($matcher)) {
$matcher = new Matcher();
Expand Down

0 comments on commit 3f618bd

Please sign in to comment.