for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
declare(strict_types=1);
namespace Overblog\GraphQLBundle\Relay\Connection\Output;
use GraphQL\Executor\Promise\Promise;
use Overblog\GraphQLBundle\Relay\Connection\ConnectionInterface;
use Overblog\GraphQLBundle\Relay\Connection\EdgeInterface;
use Overblog\GraphQLBundle\Relay\Connection\PageInfoInterface;
class Connection implements ConnectionInterface
{
use DeprecatedPropertyPublicAccessTrait;
/** @var EdgeInterface[] */
protected array $edges;
protected ?PageInfoInterface $pageInfo;
/** @var int|Promise|null Total count or promise that returns the total count */
protected $totalCount = null;
public function __construct(array $edges = [], PageInfoInterface $pageInfo = null)
$this->edges = $edges;
$this->pageInfo = $pageInfo;
}
/**
* {@inheritdoc}
*/
public function getEdges(): array
return $this->edges;
public function setEdges(iterable $edges): void
$edges
iterable
Overblog\GraphQLBundle\R...nection\EdgeInterface[]
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
public function getPageInfo(): ? PageInfoInterface
return $this->pageInfo;
public function setPageInfo(PageInfoInterface $pageInfo): void
public function getTotalCount()
return $this->totalCount;
public function setTotalCount($totalCount): void
$this->totalCount = $totalCount;
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..