Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Commit 781d3b1

Browse files
committed
Remove JB attributes (phpcs bug)
1 parent faca40e commit 781d3b1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/Server.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
namespace Spiral\GRPC;
1313

1414
use Google\Protobuf\Any;
15-
use Google\Protobuf\Internal\Message;
16-
use JetBrains\PhpStorm\ArrayShape;
1715
use Spiral\GRPC\Exception\GRPCException;
1816
use Spiral\GRPC\Exception\GRPCExceptionInterface;
1917
use Spiral\GRPC\Exception\NotFoundException;
@@ -50,18 +48,14 @@ final class Server
5048
/**
5149
* @var ServerOptions
5250
*/
53-
#[ArrayShape(['debug' => 'bool'])]
5451
private $options;
5552

5653
/**
5754
* @param InvokerInterface|null $invoker
5855
* @param ServerOptions $options
5956
*/
60-
public function __construct(
61-
InvokerInterface $invoker = null,
62-
#[ArrayShape(['debug' => 'bool'])]
63-
array $options = []
64-
) {
57+
public function __construct(InvokerInterface $invoker = null, array $options = [])
58+
{
6559
$this->invoker = $invoker ?? new Invoker();
6660
$this->options = $options;
6761
}

0 commit comments

Comments
 (0)