Skip to content

Commit 6a07f7b

Browse files
committed
More QA
1 parent dd3269d commit 6a07f7b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Paginator/RawPaginatorAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function getElasticaResults($offset, $itemCountPerPage)
7474
? (integer) $this->query->getParam('size')
7575
: null;
7676

77-
if ($size && $size < $offset + $itemCountPerPage) {
77+
if (null !== $size && $size < $offset + $itemCountPerPage) {
7878
$itemCountPerPage = $size - $offset;
7979
}
8080

Tests/Command/ResetCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
class ResetCommandTest extends \PHPUnit_Framework_TestCase
1111
{
12+
private $command;
1213
private $resetter;
13-
1414
private $indexManager;
1515

1616
public function setup()

Tests/Doctrine/AbstractListenerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ private function getMockIndexable($indexName, $typeName, $object, $return = null
272272
class Entity
273273
{
274274
private $id;
275+
public $identifier;
275276

276277
/**
277278
* @param integer $id

0 commit comments

Comments
 (0)