for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*******************************************************************************
* This file is part of the GraphQL Bundle package.
*
* (c) YnloUltratech <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
******************************************************************************/
namespace Ynlo\GraphQLBundle\Model;
use Ynlo\GraphQLBundle\Annotation as API;
/**
* @API\ObjectType()
*/
class DeleteBatchNodePayload
{
* @var ID
* @API\Field(type="[ID!]!", description="IDs of the node deleted on success")
public $ids = [];
* @var null|string
* @API\Field(type="string")
public $clientMutationId;
* @param ID[] $ids
* @param null|string $clientMutationId
public function __construct(array $ids, ?string $clientMutationId = null)
$this->ids = $ids;
$ids
Ynlo\GraphQLBundle\Model\ID[]
Ynlo\GraphQLBundle\Model\ID
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..
$this->clientMutationId = $clientMutationId;
}
* @return array
public function getIds(): array
return $this->ids;
return $this->ids
array
* @return null|string
public function getClientMutationId()
return $this->clientMutationId;
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..