Skip to content

Commit

Permalink
Ran PHP CS fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Apr 7, 2016
1 parent 3f20887 commit 5490e03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Core/Search/Solr/Query/Content/CriterionVisitor/Tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abstract class Tags extends CriterionVisitor
* @var \eZ\Publish\SPI\Persistence\Content\Type\Handler
*/
protected $contentTypeHandler;

/**
* Identifier of the field type that criterion can handle.
*
Expand Down Expand Up @@ -70,7 +70,7 @@ protected function getTargetFieldNames(Criterion $criterion)
$this->fieldName
);
}

$targetFieldNames = array();
foreach ($this->contentTypeHandler->getSearchableFieldMap() as $fieldDefinitions) {
foreach ($fieldDefinitions as $fieldIdentifier => $fieldDefinition) {
Expand All @@ -92,7 +92,7 @@ protected function getTargetFieldNames(Criterion $criterion)
$targetFieldNames = array_merge($targetFieldNames, $solrFieldNames);
}
}

return array_values(array_unique($targetFieldNames));
}
}
1 change: 0 additions & 1 deletion Tests/Core/Search/Legacy/Content/HandlerContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Netgen\TagsBundle\Tests\Core\Search\Legacy\Content;

use eZ\Publish\Core\Persistence\Legacy\Content\Gateway\DoctrineDatabase\QueryBuilder;
use eZ\Publish\Core\Search\Legacy\Content;
use eZ\Publish\SPI\Persistence\Content as ContentObject;
use eZ\Publish\API\Repository\Values\Content\Query;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Core/SignalSlot/TagsServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ public function testNewTagUpdateStruct()
*/
public function testSudo()
{
$callback = function(){};
$callback = function () {};

$this->tagsService
->expects($this->once())
Expand Down

0 comments on commit 5490e03

Please sign in to comment.