Skip to content

Commit

Permalink
Merge branch 'release/2.4.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
basdenooijer committed Feb 14, 2012
2 parents 67f5cb9 + 9deb64d commit 72ffa05
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
12 changes: 4 additions & 8 deletions composer.json
Expand Up @@ -2,18 +2,14 @@
"name": "solarium/solarium",
"type": "library",
"description": "PHP Solr client",
"keywords": ["solr", "search"],
"keywords": ["solr", "search", "php"],
"homepage": "http://www.solarium-project.org",
"version": "2.3.0",
"version": "2.4.0",
"license": "NewBSD",
"authors": [
{
"name": "Bas de Nooijer",
"email": "github@raspberry.nl"
},
{
"name": "Gasol Wu",
"email": "gasol.wu@gmail.com"
"name": "See GitHub contributors",
"homepage": "https://github.com/basdenooijer/solarium/contributors"
}
],
"require": {
Expand Down
18 changes: 10 additions & 8 deletions library/Solarium/Client/ResponseParser/Analysis/Field.php
Expand Up @@ -112,14 +112,16 @@ protected function _parseTypes($typeData)

if (is_string($analysis)) {

$item = new Solarium_Result_Analysis_Item(array(
'text' => $analysis,
'start' => null,
'end' => null,
'position' => null,
'positionHistory' => null,
'type' => null,
));
$item = new Solarium_Result_Analysis_Item(
array(
'text' => $analysis,
'start' => null,
'end' => null,
'position' => null,
'positionHistory' => null,
'type' => null,
)
);

$classes[] = new Solarium_Result_Analysis_List($class, array($item));

Expand Down
5 changes: 3 additions & 2 deletions library/Solarium/Plugin/ParallelExecution.php
Expand Up @@ -102,7 +102,8 @@ public function getQueries()
*
* @return self Provides fluent interface
*/
public function clearQueries() {
public function clearQueries()
{
$this->_queries = array();
return $this;
}
Expand All @@ -121,7 +122,7 @@ public function clearQueries() {
public function execute($queries = null)
{
// this is for backwards compatibility
if(is_array($queries)) {
if (is_array($queries)) {
foreach ($queries as $key => $query) {
$this->addQuery($key, $query);
}
Expand Down

0 comments on commit 72ffa05

Please sign in to comment.