Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Applied fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and StyleCIBot committed Jun 3, 2016
1 parent 32bf1b2 commit 948d1f0
Show file tree
Hide file tree
Showing 29 changed files with 72 additions and 71 deletions.
2 changes: 0 additions & 2 deletions src/Documents/Bulk/BulkAction.php
Expand Up @@ -2,7 +2,6 @@

class BulkAction
{

const ACTION_INDEX = 'index';

/**
Expand Down Expand Up @@ -70,5 +69,4 @@ public function setBody(array $body)
$this->body = $body;
return $this;
}

}
1 change: 0 additions & 1 deletion src/Documents/Bulk/BulkQuery.php
Expand Up @@ -88,5 +88,4 @@ public function toArray()

return $result;
}

}
1 change: 0 additions & 1 deletion src/ElasticsearchService.php
Expand Up @@ -146,5 +146,4 @@ public function execute(Search $search)
'body' => $search->buildBody(),
]);
}

}
1 change: 0 additions & 1 deletion src/ElasticsearchServiceProvider.php
Expand Up @@ -6,7 +6,6 @@

class ElasticsearchServiceProvider extends ServiceProvider
{

const CONFIG_KEY = 'elasticsearch';


Expand Down
1 change: 0 additions & 1 deletion src/Parsers/SortStringParser.php
Expand Up @@ -52,5 +52,4 @@ public function buildSortFromString($string)

return $sorts;
}

}
1 change: 0 additions & 1 deletion src/Search/Query/Compound/AbstractQuery.php
Expand Up @@ -45,5 +45,4 @@
*/
abstract class AbstractQuery extends QueryDSL
{

}
1 change: 0 additions & 1 deletion src/Search/Query/FullText/AbstractQuery.php
Expand Up @@ -29,5 +29,4 @@
*/
abstract class AbstractQuery extends QueryDSL
{

}
2 changes: 0 additions & 2 deletions src/Search/Query/FullText/MatchQuery.php
Expand Up @@ -9,7 +9,6 @@
*/
class MatchQuery extends AbstractQuery
{

const OPERATOR_OR = 'or';
const OPERATOR_AND = 'and';

Expand Down Expand Up @@ -194,7 +193,6 @@ public function setCutOffFrequency($cutOffFrequency)
public function getCutOffFrequency()
{
return $this->cutOffFrequency;

}


Expand Down
1 change: 0 additions & 1 deletion src/Search/Query/Geo/AbstractQuery.php
Expand Up @@ -31,5 +31,4 @@
*/
abstract class AbstractQuery extends QueryDSL
{

}
1 change: 0 additions & 1 deletion src/Search/Query/Joining/AbstractQuery.php
Expand Up @@ -19,5 +19,4 @@
*/
abstract class AbstractQuery extends QueryDSL
{

}
2 changes: 1 addition & 1 deletion src/Search/Query/QueryDSL.php
Expand Up @@ -21,5 +21,5 @@ abstract class QueryDSL
/**
* @return array
*/
abstract function toArray();
abstract public function toArray();
}
1 change: 0 additions & 1 deletion src/Search/Query/TermLevel/AbstractQuery.php
Expand Up @@ -50,5 +50,4 @@
*/
abstract class AbstractQuery extends QueryDSL
{

}
4 changes: 2 additions & 2 deletions src/Search/Sort.php
Expand Up @@ -21,7 +21,8 @@ class Sort
/**
* @return array
*/
public function toArray() {
public function toArray()
{
$result = [];
foreach ($this->getSorts() as $sort) {
$result[] = $sort->toArray();
Expand Down Expand Up @@ -60,5 +61,4 @@ public function getSorts()
{
return $this->sorts;
}

}
1 change: 0 additions & 1 deletion src/Search/Sort/FieldSort.php
Expand Up @@ -107,5 +107,4 @@ public function getUnmappedType()
{
return $this->unmappedType;
}

}
1 change: 0 additions & 1 deletion src/Search/Sort/SortBuilder.php
Expand Up @@ -28,5 +28,4 @@ public function createDocSort()
{
return new DocSort();
}

}
1 change: 0 additions & 1 deletion tests/_support/Helper/Unit.php
Expand Up @@ -6,5 +6,4 @@

class Unit extends \Codeception\Module
{

}

0 comments on commit 948d1f0

Please sign in to comment.