File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ class Cdata implements Buildable
12
12
{
13
13
use BuildableImp;
14
14
15
- public static function create (string $ content ): Cdata
15
+ public static function create (string $ content ): static
16
16
{
17
17
return new static ($ content );
18
18
}
19
19
20
- final public function __construct (private string $ content )
20
+ final private function __construct (private string $ content )
21
21
{
22
22
}
23
23
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ class Comment implements Buildable
12
12
{
13
13
use BuildableImp;
14
14
15
- public static function create (string $ content ): Comment
15
+ public static function create (string $ content ): static
16
16
{
17
17
return new static ($ content );
18
18
}
19
19
20
- final public function __construct (private string $ content )
20
+ final private function __construct (private string $ content )
21
21
{
22
22
}
23
23
You can’t perform that action at this time.
0 commit comments