Skip to content

Commit ae6e32a

Browse files
authored
Merge pull request #970 from TumTum/main
Use static:: instead of self:: for late static binding
2 parents 441f904 + cfe3c4a commit ae6e32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Payloads/Payload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function toJson(): string
5151
protected function getOrigin(): Origin
5252
{
5353
/** @var \Spatie\Ray\Origin\OriginFactory $originFactory */
54-
$originFactory = new self::$originFactoryClass();
54+
$originFactory = new static::$originFactoryClass();
5555

5656
$origin = $originFactory->getOrigin();
5757

0 commit comments

Comments
 (0)