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

Commit

Permalink
Remove JB attributes (phpcs bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Mar 31, 2021
1 parent faca40e commit 781d3b1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
namespace Spiral\GRPC;

use Google\Protobuf\Any;
use Google\Protobuf\Internal\Message;
use JetBrains\PhpStorm\ArrayShape;
use Spiral\GRPC\Exception\GRPCException;
use Spiral\GRPC\Exception\GRPCExceptionInterface;
use Spiral\GRPC\Exception\NotFoundException;
Expand Down Expand Up @@ -50,18 +48,14 @@ final class Server
/**
* @var ServerOptions
*/
#[ArrayShape(['debug' => 'bool'])]
private $options;

/**
* @param InvokerInterface|null $invoker
* @param ServerOptions $options
*/
public function __construct(
InvokerInterface $invoker = null,
#[ArrayShape(['debug' => 'bool'])]
array $options = []
) {
public function __construct(InvokerInterface $invoker = null, array $options = [])
{
$this->invoker = $invoker ?? new Invoker();
$this->options = $options;
}
Expand Down

0 comments on commit 781d3b1

Please sign in to comment.