We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed4a306 commit 88e03fdCopy full SHA for 88e03fd
src/SPC/builder/extension/protobuf.php
@@ -17,7 +17,7 @@ public function validate(): void
17
}
18
$grpc = $this->builder->getExt('grpc');
19
// protobuf conflicts with grpc
20
- if ($grpc && $grpc->isBuildStatic()) {
+ if ($grpc?->isBuildStatic()) {
21
throw new \RuntimeException('protobuf conflicts with grpc, please remove grpc or protobuf extension');
22
23
0 commit comments