More QA
This commit is contained in:
parent
dd3269d1ef
commit
6a07f7b24e
|
@ -74,7 +74,7 @@ class RawPaginatorAdapter implements PaginatorAdapterInterface
|
|||
? (integer) $this->query->getParam('size')
|
||||
: null;
|
||||
|
||||
if ($size && $size < $offset + $itemCountPerPage) {
|
||||
if (null !== $size && $size < $offset + $itemCountPerPage) {
|
||||
$itemCountPerPage = $size - $offset;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ use Symfony\Component\DependencyInjection\Container;
|
|||
|
||||
class ResetCommandTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
private $command;
|
||||
private $resetter;
|
||||
|
||||
private $indexManager;
|
||||
|
||||
public function setup()
|
||||
|
|
|
@ -272,6 +272,7 @@ namespace FOS\ElasticaBundle\Tests\Doctrine\Listener;
|
|||
class Entity
|
||||
{
|
||||
private $id;
|
||||
public $identifier;
|
||||
|
||||
/**
|
||||
* @param integer $id
|
||||
|
|
Loading…
Reference in a new issue