/**
* The mock entity query.
*
- * @var \Drupal\Core\Entity\Query\QueryInterface
- * @var \Drupal\Core\Entity\Query\QueryFactory
+ * @var \Drupal\Core\Entity\Query\QueryInterface|\Drupal\Core\Entity\Query\QueryFactory
*/
protected $entityQuery;
->will($this->returnValue($this->entityQuery));
$this->entityQuery->expects($this->exactly($count + 1))
->method('execute')
- ->will($this->returnCallback(function () use (&$count) { return $count--;}));
+ ->will($this->returnCallback(function () use (&$count) {
+ return $count--;
+ }));
}
/**