blob: e445512e15f606f1b7982ad4fbd5acd555566f2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Structure\Types;
final readonly class FuncType
{
public function __construct(
public ResultType $params,
public ResultType $results,
) {
}
public function equals(FuncType $other): bool
{
return $this->params->equals($other->params)
&& $this->results->equals($other->results);
}
}
|