Skip to content

Commit 88e03fd

Browse files
committed
?->
1 parent ed4a306 commit 88e03fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/extension/protobuf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function validate(): void
1717
}
1818
$grpc = $this->builder->getExt('grpc');
1919
// protobuf conflicts with grpc
20-
if ($grpc && $grpc->isBuildStatic()) {
20+
if ($grpc?->isBuildStatic()) {
2121
throw new \RuntimeException('protobuf conflicts with grpc, please remove grpc or protobuf extension');
2222
}
2323
}

0 commit comments

Comments
 (0)