Skip to content

Commit bb225c0

Browse files
committed
chore: fix types in FileDescriptorProto
1 parent 0a08ac6 commit bb225c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Compiler/FileDescriptorProto.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*/
2525
public function __construct(
2626
#[Reflection\Field(1, Reflection\StringT::T)]
27-
public ?string $name = null,
27+
public string $name,
2828
#[Reflection\Field(2, Reflection\StringT::T)]
29-
public ?string $package = null,
29+
public string $package,
3030
#[Reflection\Field(3, new Reflection\ListT(Reflection\StringT::T))]
3131
public array $dependencies = [],
3232
#[Reflection\Field(10, new Reflection\ListT(Reflection\Int32T::T))]

0 commit comments

Comments
 (0)