Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
9deb64d5
Commit
9deb64d5
authored
Feb 14, 2012
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code style fixes
parent
b4ccbe8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
library/Solarium/Client/ResponseParser/Analysis/Field.php
library/Solarium/Client/ResponseParser/Analysis/Field.php
+10
-8
library/Solarium/Plugin/ParallelExecution.php
library/Solarium/Plugin/ParallelExecution.php
+3
-2
No files found.
library/Solarium/Client/ResponseParser/Analysis/Field.php
View file @
9deb64d5
...
@@ -112,14 +112,16 @@ class Solarium_Client_ResponseParser_Analysis_Field extends Solarium_Client_Resp
...
@@ -112,14 +112,16 @@ class Solarium_Client_ResponseParser_Analysis_Field extends Solarium_Client_Resp
if
(
is_string
(
$analysis
))
{
if
(
is_string
(
$analysis
))
{
$item
=
new
Solarium_Result_Analysis_Item
(
array
(
$item
=
new
Solarium_Result_Analysis_Item
(
'text'
=>
$analysis
,
array
(
'start'
=>
null
,
'text'
=>
$analysis
,
'end'
=>
null
,
'start'
=>
null
,
'position'
=>
null
,
'end'
=>
null
,
'positionHistory'
=>
null
,
'position'
=>
null
,
'type'
=>
null
,
'positionHistory'
=>
null
,
));
'type'
=>
null
,
)
);
$classes
[]
=
new
Solarium_Result_Analysis_List
(
$class
,
array
(
$item
));
$classes
[]
=
new
Solarium_Result_Analysis_List
(
$class
,
array
(
$item
));
...
...
library/Solarium/Plugin/ParallelExecution.php
View file @
9deb64d5
...
@@ -102,7 +102,8 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
...
@@ -102,7 +102,8 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
*
*
* @return self Provides fluent interface
* @return self Provides fluent interface
*/
*/
public
function
clearQueries
()
{
public
function
clearQueries
()
{
$this
->
_queries
=
array
();
$this
->
_queries
=
array
();
return
$this
;
return
$this
;
}
}
...
@@ -121,7 +122,7 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
...
@@ -121,7 +122,7 @@ class Solarium_Plugin_ParallelExecution extends Solarium_Plugin_Abstract
public
function
execute
(
$queries
=
null
)
public
function
execute
(
$queries
=
null
)
{
{
// this is for backwards compatibility
// this is for backwards compatibility
if
(
is_array
(
$queries
))
{
if
(
is_array
(
$queries
))
{
foreach
(
$queries
as
$key
=>
$query
)
{
foreach
(
$queries
as
$key
=>
$query
)
{
$this
->
addQuery
(
$key
,
$query
);
$this
->
addQuery
(
$key
,
$query
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment