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 @@ -36,7 +36,7 @@ abstract public static function getMethod(): string;
3636 /**
3737 * @param RequestData $data
3838 */
39- public static function fromArray (array $ data ): self
39+ public static function fromArray (array $ data ): static
4040 {
4141 if (($ data ['jsonrpc ' ] ?? null ) !== MessageInterface::JSONRPC_VERSION ) {
4242 throw new InvalidArgumentException ('Invalid or missing "jsonrpc" version for Request. ' );
@@ -68,7 +68,7 @@ public static function fromArray(array $data): self
6868 /**
6969 * @param array<string, mixed>|null $params
7070 */
71- abstract protected static function fromParams (?array $ params ): self ;
71+ abstract protected static function fromParams (?array $ params ): static ;
7272
7373 public function getId (): string |int
7474 {
You can’t perform that action at this time.
0 commit comments