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
f3e63558
Commit
f3e63558
authored
Aug 21, 2013
by
Dorian Villet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing bad PHPDocs for methods.
parent
92a1d2c9
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
92 additions
and
110 deletions
+92
-110
library/Solarium/Core/Client/Client.php
library/Solarium/Core/Client/Client.php
+20
-20
library/Solarium/Core/Configurable.php
library/Solarium/Core/Configurable.php
+0
-1
library/Solarium/Core/ConfigurableInterface.php
library/Solarium/Core/ConfigurableInterface.php
+0
-1
library/Solarium/Core/Event/PostCreateQuery.php
library/Solarium/Core/Event/PostCreateQuery.php
+1
-1
library/Solarium/Core/Event/PostCreateRequest.php
library/Solarium/Core/Event/PostCreateRequest.php
+1
-0
library/Solarium/Core/Event/PreCreateQuery.php
library/Solarium/Core/Event/PreCreateQuery.php
+1
-1
library/Solarium/Core/Query/Helper.php
library/Solarium/Core/Query/Helper.php
+2
-2
library/Solarium/Core/Query/RequestBuilder.php
library/Solarium/Core/Query/RequestBuilder.php
+1
-1
library/Solarium/Core/Query/Result/Result.php
library/Solarium/Core/Query/Result/Result.php
+0
-1
library/Solarium/Plugin/BufferedAdd/Event/PreCommit.php
library/Solarium/Plugin/BufferedAdd/Event/PreCommit.php
+5
-1
library/Solarium/QueryType/Analysis/RequestBuilder/Document.php
...y/Solarium/QueryType/Analysis/RequestBuilder/Document.php
+1
-1
library/Solarium/QueryType/Analysis/RequestBuilder/Field.php
library/Solarium/QueryType/Analysis/RequestBuilder/Field.php
+1
-1
library/Solarium/QueryType/Analysis/RequestBuilder/RequestBuilder.php
...rium/QueryType/Analysis/RequestBuilder/RequestBuilder.php
+1
-1
library/Solarium/QueryType/MoreLikeThis/RequestBuilder.php
library/Solarium/QueryType/MoreLikeThis/RequestBuilder.php
+1
-1
library/Solarium/QueryType/Ping/RequestBuilder.php
library/Solarium/QueryType/Ping/RequestBuilder.php
+1
-1
library/Solarium/QueryType/RealtimeGet/RequestBuilder.php
library/Solarium/QueryType/RealtimeGet/RequestBuilder.php
+1
-1
library/Solarium/QueryType/Select/Query/Component/Component.php
...y/Solarium/QueryType/Select/Query/Component/Component.php
+2
-1
library/Solarium/QueryType/Select/Query/Component/Highlighting/Highlighting.php
...Type/Select/Query/Component/Highlighting/Highlighting.php
+1
-1
library/Solarium/QueryType/Select/Query/FilterQuery.php
library/Solarium/QueryType/Select/Query/FilterQuery.php
+1
-1
library/Solarium/QueryType/Select/Query/Query.php
library/Solarium/QueryType/Select/Query/Query.php
+2
-2
library/Solarium/QueryType/Select/RequestBuilder/RequestBuilder.php
...larium/QueryType/Select/RequestBuilder/RequestBuilder.php
+1
-1
library/Solarium/QueryType/Select/Result/Debug/DocumentSet.php
...ry/Solarium/QueryType/Select/Result/Debug/DocumentSet.php
+1
-2
library/Solarium/QueryType/Select/Result/Debug/Timing.php
library/Solarium/QueryType/Select/Result/Debug/Timing.php
+2
-3
library/Solarium/QueryType/Select/Result/Debug/TimingPhase.php
...ry/Solarium/QueryType/Select/Result/Debug/TimingPhase.php
+3
-4
library/Solarium/QueryType/Select/Result/Facet/Field.php
library/Solarium/QueryType/Select/Result/Facet/Field.php
+1
-2
library/Solarium/QueryType/Select/Result/Facet/Pivot/Pivot.php
...ry/Solarium/QueryType/Select/Result/Facet/Pivot/Pivot.php
+1
-2
library/Solarium/QueryType/Select/Result/Facet/Pivot/PivotItem.php
...olarium/QueryType/Select/Result/Facet/Pivot/PivotItem.php
+1
-2
library/Solarium/QueryType/Select/Result/Facet/Query.php
library/Solarium/QueryType/Select/Result/Facet/Query.php
+1
-2
library/Solarium/QueryType/Select/Result/Facet/Range.php
library/Solarium/QueryType/Select/Result/Facet/Range.php
+7
-8
library/Solarium/QueryType/Select/Result/FacetSet.php
library/Solarium/QueryType/Select/Result/FacetSet.php
+1
-2
library/Solarium/QueryType/Select/Result/Grouping/FieldGroup.php
.../Solarium/QueryType/Select/Result/Grouping/FieldGroup.php
+3
-4
library/Solarium/QueryType/Select/Result/Grouping/QueryGroup.php
.../Solarium/QueryType/Select/Result/Grouping/QueryGroup.php
+5
-6
library/Solarium/QueryType/Select/Result/Grouping/Result.php
library/Solarium/QueryType/Select/Result/Grouping/Result.php
+1
-2
library/Solarium/QueryType/Select/Result/Grouping/ValueGroup.php
.../Solarium/QueryType/Select/Result/Grouping/ValueGroup.php
+4
-5
library/Solarium/QueryType/Select/Result/Highlighting/Highlighting.php
...ium/QueryType/Select/Result/Highlighting/Highlighting.php
+1
-2
library/Solarium/QueryType/Select/Result/Highlighting/Result.php
.../Solarium/QueryType/Select/Result/Highlighting/Result.php
+1
-2
library/Solarium/QueryType/Select/Result/MoreLikeThis/MoreLikeThis.php
...ium/QueryType/Select/Result/MoreLikeThis/MoreLikeThis.php
+1
-2
library/Solarium/QueryType/Select/Result/MoreLikeThis/Result.php
.../Solarium/QueryType/Select/Result/MoreLikeThis/Result.php
+3
-4
library/Solarium/QueryType/Select/Result/Spellcheck/Result.php
...ry/Solarium/QueryType/Select/Result/Spellcheck/Result.php
+3
-4
library/Solarium/QueryType/Select/Result/Stats/FacetValue.php
...ary/Solarium/QueryType/Select/Result/Stats/FacetValue.php
+2
-3
library/Solarium/QueryType/Select/Result/Stats/Result.php
library/Solarium/QueryType/Select/Result/Stats/Result.php
+2
-3
library/Solarium/QueryType/Select/Result/Stats/Stats.php
library/Solarium/QueryType/Select/Result/Stats/Stats.php
+1
-2
library/Solarium/QueryType/Suggester/RequestBuilder.php
library/Solarium/QueryType/Suggester/RequestBuilder.php
+1
-1
library/Solarium/QueryType/Terms/RequestBuilder.php
library/Solarium/QueryType/Terms/RequestBuilder.php
+1
-1
library/Solarium/QueryType/Update/RequestBuilder.php
library/Solarium/QueryType/Update/RequestBuilder.php
+1
-1
No files found.
library/Solarium/Core/Client/Client.php
View file @
f3e63558
...
@@ -750,8 +750,8 @@ class Client extends Configurable
...
@@ -750,8 +750,8 @@ class Client extends Configurable
/**
/**
* Execute a query
* Execute a query
*
*
* @param QueryInterface
* @param QueryInterface
$query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return ResultInterface
* @return ResultInterface
*/
*/
public
function
execute
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
execute
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -819,8 +819,8 @@ class Client extends Configurable
...
@@ -819,8 +819,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Ping\Query $query
* @param
QueryInterface|
\Solarium\QueryType\Ping\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\Ping\Result
* @return \Solarium\QueryType\Ping\Result
*/
*/
public
function
ping
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
ping
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -845,8 +845,8 @@ class Client extends Configurable
...
@@ -845,8 +845,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Update\Query\Query $query
* @param
QueryInterface|
\Solarium\QueryType\Update\Query\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\Update\Result
* @return \Solarium\QueryType\Update\Result
*/
*/
public
function
update
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
update
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -870,8 +870,8 @@ class Client extends Configurable
...
@@ -870,8 +870,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Select\Query\Query $query
* @param
QueryInterface|
\Solarium\QueryType\Select\Query\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\Select\Result\Result
* @return \Solarium\QueryType\Select\Result\Result
*/
*/
public
function
select
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
select
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -895,8 +895,8 @@ class Client extends Configurable
...
@@ -895,8 +895,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\MoreLikeThis\Query $query
* @param
QueryInterface|
\Solarium\QueryType\MoreLikeThis\Query $query
* @param Endpoint
* @param Endpoint
|string|null $endpoint
* @return \Solarium\QueryType\MoreLikeThis\Result
* @return \Solarium\QueryType\MoreLikeThis\Result
*/
*/
public
function
moreLikeThis
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
moreLikeThis
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -910,8 +910,8 @@ class Client extends Configurable
...
@@ -910,8 +910,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Analysis\Query\Document|\Solarium\QueryType\Analysis\Query\Field $query
* @param
QueryInterface|
\Solarium\QueryType\Analysis\Query\Document|\Solarium\QueryType\Analysis\Query\Field $query
* @param Endpoint
* @param Endpoint
|string|null $endpoint
* @return \Solarium\QueryType\Analysis\Result\Document|\Solarium\QueryType\Analysis\Result\Field
* @return \Solarium\QueryType\Analysis\Result\Document|\Solarium\QueryType\Analysis\Result\Field
*/
*/
public
function
analyze
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
analyze
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -925,8 +925,8 @@ class Client extends Configurable
...
@@ -925,8 +925,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Terms\Query $query
* @param
QueryInterface|
\Solarium\QueryType\Terms\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\Terms\Result
* @return \Solarium\QueryType\Terms\Result
*/
*/
public
function
terms
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
terms
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -940,8 +940,8 @@ class Client extends Configurable
...
@@ -940,8 +940,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Suggester\Query $query
* @param
QueryInterface|
\Solarium\QueryType\Suggester\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\Suggester\Result\Result
* @return \Solarium\QueryType\Suggester\Result\Result
*/
*/
public
function
suggester
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
suggester
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -955,8 +955,8 @@ class Client extends Configurable
...
@@ -955,8 +955,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\Extract\Query $query
* @param
QueryInterface|
\Solarium\QueryType\Extract\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\Extract\Result
* @return \Solarium\QueryType\Extract\Result
*/
*/
public
function
extract
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
extract
(
QueryInterface
$query
,
$endpoint
=
null
)
...
@@ -970,8 +970,8 @@ class Client extends Configurable
...
@@ -970,8 +970,8 @@ class Client extends Configurable
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param \Solarium\QueryType\RealtimeGet\Query $query
* @param
QueryInterface|
\Solarium\QueryType\RealtimeGet\Query $query
* @param Endpoint|string|null
* @param Endpoint|string|null
$endpoint
* @return \Solarium\QueryType\RealtimeGet\Result
* @return \Solarium\QueryType\RealtimeGet\Result
*/
*/
public
function
realtimeGet
(
QueryInterface
$query
,
$endpoint
=
null
)
public
function
realtimeGet
(
QueryInterface
$query
,
$endpoint
=
null
)
...
...
library/Solarium/Core/Configurable.php
View file @
f3e63558
...
@@ -67,7 +67,6 @@ class Configurable implements ConfigurableInterface
...
@@ -67,7 +67,6 @@ class Configurable implements ConfigurableInterface
*
*
* @throws InvalidArgumentException
* @throws InvalidArgumentException
* @param array|\Zend_Config $options
* @param array|\Zend_Config $options
* @return void
*/
*/
public
function
__construct
(
$options
=
null
)
public
function
__construct
(
$options
=
null
)
{
{
...
...
library/Solarium/Core/ConfigurableInterface.php
View file @
f3e63558
...
@@ -59,7 +59,6 @@ interface ConfigurableInterface
...
@@ -59,7 +59,6 @@ interface ConfigurableInterface
*
*
* @throws InvalidArgumentException
* @throws InvalidArgumentException
* @param array|\Zend_Config $options
* @param array|\Zend_Config $options
* @return void
*/
*/
public
function
__construct
(
$options
=
null
);
public
function
__construct
(
$options
=
null
);
...
...
library/Solarium/Core/Event/PostCreateQuery.php
View file @
f3e63558
...
@@ -65,7 +65,7 @@ class PostCreateQuery extends Event
...
@@ -65,7 +65,7 @@ class PostCreateQuery extends Event
* Event constructor
* Event constructor
*
*
* @param string $type
* @param string $type
* @param array $
query
* @param array $
options
* @param QueryInterface $query
* @param QueryInterface $query
*/
*/
public
function
__construct
(
$type
,
$options
,
QueryInterface
$query
)
public
function
__construct
(
$type
,
$options
,
QueryInterface
$query
)
...
...
library/Solarium/Core/Event/PostCreateRequest.php
View file @
f3e63558
...
@@ -61,6 +61,7 @@ class PostCreateRequest extends Event
...
@@ -61,6 +61,7 @@ class PostCreateRequest extends Event
* Event constructor
* Event constructor
*
*
* @param QueryInterface $query
* @param QueryInterface $query
* @param Request $request
*/
*/
public
function
__construct
(
QueryInterface
$query
,
Request
$request
)
public
function
__construct
(
QueryInterface
$query
,
Request
$request
)
{
{
...
...
library/Solarium/Core/Event/PreCreateQuery.php
View file @
f3e63558
...
@@ -65,7 +65,7 @@ class PreCreateQuery extends Event
...
@@ -65,7 +65,7 @@ class PreCreateQuery extends Event
* Event constructor
* Event constructor
*
*
* @param string $type
* @param string $type
* @param array|null $
query
* @param array|null $
options
*/
*/
public
function
__construct
(
$type
,
$options
)
public
function
__construct
(
$type
,
$options
)
{
{
...
...
library/Solarium/Core/Query/Helper.php
View file @
f3e63558
...
@@ -458,8 +458,8 @@ class Helper
...
@@ -458,8 +458,8 @@ class Helper
*
*
* @see http://wiki.apache.org/solr/CommonQueryParameters#Caching_of_filters
* @see http://wiki.apache.org/solr/CommonQueryParameters#Caching_of_filters
*
*
* @param boolean $useCache
* @param boolean
$useCache
* @param float|null $
weigh
t
* @param float|null $
cos
t
* @return string
* @return string
*/
*/
public
function
cacheControl
(
$useCache
,
$cost
=
null
)
public
function
cacheControl
(
$useCache
,
$cost
=
null
)
...
...
library/Solarium/Core/Query/RequestBuilder.php
View file @
f3e63558
...
@@ -50,7 +50,7 @@ abstract class RequestBuilder implements RequestBuilderInterface
...
@@ -50,7 +50,7 @@ abstract class RequestBuilder implements RequestBuilderInterface
/**
/**
* Build request for a select query
* Build request for a select query
*
*
* @param Query
$query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/Core/Query/Result/Result.php
View file @
f3e63558
...
@@ -90,7 +90,6 @@ class Result implements ResultInterface
...
@@ -90,7 +90,6 @@ class Result implements ResultInterface
* @param Client $client
* @param Client $client
* @param Query $query
* @param Query $query
* @param Response $response
* @param Response $response
* @return void
*/
*/
public
function
__construct
(
$client
,
$query
,
$response
)
public
function
__construct
(
$client
,
$query
,
$response
)
{
{
...
...
library/Solarium/Plugin/BufferedAdd/Event/PreCommit.php
View file @
f3e63558
...
@@ -74,7 +74,11 @@ class PreCommit extends Event
...
@@ -74,7 +74,11 @@ class PreCommit extends Event
/**
/**
* Event constructor
* Event constructor
*
*
* @param array $buffer
* @param array $buffer
* @param boolean $overwrite
* @param boolean $softCommit
* @param boolean $waitSearcher
* @param boolean $expungeDeletes
*/
*/
public
function
__construct
(
$buffer
,
$overwrite
,
$softCommit
,
$waitSearcher
,
$expungeDeletes
)
public
function
__construct
(
$buffer
,
$overwrite
,
$softCommit
,
$waitSearcher
,
$expungeDeletes
)
{
{
...
...
library/Solarium/QueryType/Analysis/RequestBuilder/Document.php
View file @
f3e63558
...
@@ -51,7 +51,7 @@ class Document extends BaseRequestBuilder
...
@@ -51,7 +51,7 @@ class Document extends BaseRequestBuilder
/**
/**
* Build request for an analysis document query
* Build request for an analysis document query
*
*
* @param QueryDocument $query
* @param Query
Interface|Query
Document $query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Analysis/RequestBuilder/Field.php
View file @
f3e63558
...
@@ -50,7 +50,7 @@ class Field extends RequestBuilder
...
@@ -50,7 +50,7 @@ class Field extends RequestBuilder
/**
/**
* Build request for an analysis field query
* Build request for an analysis field query
*
*
* @param QueryField $query
* @param Query
Interface|Query
Field $query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Analysis/RequestBuilder/RequestBuilder.php
View file @
f3e63558
...
@@ -52,7 +52,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -52,7 +52,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for an analysis query
* Build request for an analysis query
*
*
* @param Query $query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/MoreLikeThis/RequestBuilder.php
View file @
f3e63558
...
@@ -53,7 +53,7 @@ class RequestBuilder extends SelectRequestBuilder
...
@@ -53,7 +53,7 @@ class RequestBuilder extends SelectRequestBuilder
/**
/**
* Build request for a MoreLikeThis query
* Build request for a MoreLikeThis query
*
*
* @param Query
$query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Ping/RequestBuilder.php
View file @
f3e63558
...
@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for a ping query
* Build request for a ping query
*
*
* @param Query
$query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/RealtimeGet/RequestBuilder.php
View file @
f3e63558
...
@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for a ping query
* Build request for a ping query
*
*
* @param Query $query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Select/Query/Component/Component.php
View file @
f3e63558
...
@@ -77,7 +77,8 @@ abstract class Component extends Configurable
...
@@ -77,7 +77,8 @@ abstract class Component extends Configurable
/**
/**
* Set parent query instance
* Set parent query instance
*
*
* @return self Provides fluent interface
* @param Query $instance
* @return self Provides fluent interface
*/
*/
public
function
setQueryInstance
(
Query
$instance
)
public
function
setQueryInstance
(
Query
$instance
)
{
{
...
...
library/Solarium/QueryType/Select/Query/Component/Highlighting/Highlighting.php
View file @
f3e63558
...
@@ -787,7 +787,7 @@ class Highlighting extends Component
...
@@ -787,7 +787,7 @@ class Highlighting extends Component
/**
/**
* Get MultiValuedSeparatorChar option
* Get MultiValuedSeparatorChar option
*
*
* @return
$separator
* @return
string
*/
*/
public
function
getMultiValuedSeparatorChar
()
public
function
getMultiValuedSeparatorChar
()
{
{
...
...
library/Solarium/QueryType/Select/Query/FilterQuery.php
View file @
f3e63558
...
@@ -209,7 +209,7 @@ class FilterQuery extends Configurable
...
@@ -209,7 +209,7 @@ class FilterQuery extends Configurable
*
*
* This overwrites any existing tags
* This overwrites any existing tags
*
*
* @param array $
filterQuerie
s
* @param array $
tag
s
* @return self Provides fluent interface
* @return self Provides fluent interface
*/
*/
public
function
setTags
(
$tags
)
public
function
setTags
(
$tags
)
...
...
library/Solarium/QueryType/Select/Query/Query.php
View file @
f3e63558
...
@@ -802,8 +802,8 @@ class Query extends BaseQuery
...
@@ -802,8 +802,8 @@ class Query extends BaseQuery
*
*
* @throws OutOfBoundsException
* @throws OutOfBoundsException
* @param string $key Use one of the constants
* @param string $key Use one of the constants
* @param string
$autoload Class to autoload if component needs to be created
* @param string
|boolean
$autoload Class to autoload if component needs to be created
* @param array
$config Configuration to use for autoload
* @param array
|null
$config Configuration to use for autoload
* @return object|null
* @return object|null
*/
*/
public
function
getComponent
(
$key
,
$autoload
=
false
,
$config
=
null
)
public
function
getComponent
(
$key
,
$autoload
=
false
,
$config
=
null
)
...
...
library/Solarium/QueryType/Select/RequestBuilder/RequestBuilder.php
View file @
f3e63558
...
@@ -51,7 +51,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -51,7 +51,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for a select query
* Build request for a select query
*
*
* @param SelectQuery $query
* @param
QueryInterface|
SelectQuery $query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Select/Result/Debug/DocumentSet.php
View file @
f3e63558
...
@@ -54,8 +54,7 @@ class DocumentSet implements \IteratorAggregate, \Countable
...
@@ -54,8 +54,7 @@ class DocumentSet implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $docs
* @param array $docs
* @return void
*/
*/
public
function
__construct
(
$docs
)
public
function
__construct
(
$docs
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Debug/Timing.php
View file @
f3e63558
...
@@ -61,9 +61,8 @@ class Timing implements \IteratorAggregate, \Countable
...
@@ -61,9 +61,8 @@ class Timing implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param float $time
* @param float $time
* @param array $phases
* @param array $phases
* @return void
*/
*/
public
function
__construct
(
$time
,
$phases
)
public
function
__construct
(
$time
,
$phases
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Debug/TimingPhase.php
View file @
f3e63558
...
@@ -68,10 +68,9 @@ class TimingPhase implements \IteratorAggregate, \Countable
...
@@ -68,10 +68,9 @@ class TimingPhase implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param string $name
* @param string $name
* @param float $time
* @param float $time
* @param array $timings
* @param array $timings
* @return void
*/
*/
public
function
__construct
(
$name
,
$time
,
$timings
)
public
function
__construct
(
$name
,
$time
,
$timings
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Facet/Field.php
View file @
f3e63558
...
@@ -58,8 +58,7 @@ class Field implements \IteratorAggregate, \Countable
...
@@ -58,8 +58,7 @@ class Field implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $values
* @param array $values
* @return void
*/
*/
public
function
__construct
(
$values
)
public
function
__construct
(
$values
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Facet/Pivot/Pivot.php
View file @
f3e63558
...
@@ -55,8 +55,7 @@ class Pivot implements \IteratorAggregate, \Countable
...
@@ -55,8 +55,7 @@ class Pivot implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $data
* @param array $data
* @return void
*/
*/
public
function
__construct
(
$data
)
public
function
__construct
(
$data
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Facet/Pivot/PivotItem.php
View file @
f3e63558
...
@@ -69,8 +69,7 @@ class PivotItem extends Pivot
...
@@ -69,8 +69,7 @@ class PivotItem extends Pivot
/**
/**
* Constructor
* Constructor
*
*
* @param array $data
* @param array $data
* @return void
*/
*/
public
function
__construct
(
$data
)
public
function
__construct
(
$data
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Facet/Query.php
View file @
f3e63558
...
@@ -57,8 +57,7 @@ class Query
...
@@ -57,8 +57,7 @@ class Query
/**
/**
* Constructor
* Constructor
*
*
* @param mixed $value
* @param mixed $value
* @return void
*/
*/
public
function
__construct
(
$value
)
public
function
__construct
(
$value
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Facet/Range.php
View file @
f3e63558
...
@@ -96,14 +96,13 @@ class Range extends Field
...
@@ -96,14 +96,13 @@ class Range extends Field
/**
/**
* Constructor
* Constructor
*
*
* @param array $values
* @param array $values
* @param int $before
* @param int $before
* @param int $after
* @param int $after
* @param int $between
* @param int $between
* @param int $start
* @param int $start
* @param int $end
* @param int $end
* @param int $gap
* @param int $gap
* @return void
*/
*/
public
function
__construct
(
$values
,
$before
,
$after
,
$between
,
$start
,
$end
,
$gap
)
public
function
__construct
(
$values
,
$before
,
$after
,
$between
,
$start
,
$end
,
$gap
)
{
{
...
...
library/Solarium/QueryType/Select/Result/FacetSet.php
View file @
f3e63558
...
@@ -54,8 +54,7 @@ class FacetSet implements \IteratorAggregate, \Countable
...
@@ -54,8 +54,7 @@ class FacetSet implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $facets
* @param array $facets
* @return void
*/
*/
public
function
__construct
(
$facets
)
public
function
__construct
(
$facets
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Grouping/FieldGroup.php
View file @
f3e63558
...
@@ -70,10 +70,9 @@ class FieldGroup implements \IteratorAggregate, \Countable
...
@@ -70,10 +70,9 @@ class FieldGroup implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param int $matches
* @param int $matches
* @param int $numberOfGroups
* @param int $numberOfGroups
* @param array $groups
* @param array $groups
* @return void
*/
*/
public
function
__construct
(
$matches
,
$numberOfGroups
,
$groups
)
public
function
__construct
(
$matches
,
$numberOfGroups
,
$groups
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Grouping/QueryGroup.php
View file @
f3e63558
...
@@ -84,12 +84,11 @@ class QueryGroup implements \IteratorAggregate, \Countable
...
@@ -84,12 +84,11 @@ class QueryGroup implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param int $matches
* @param int $matches
* @param int $numFound
* @param int $numFound
* @param int $start
* @param int $start
* @param float $maximumScore
* @param float $maximumScore
* @param array $documents
* @param array $documents
* @return void
*/
*/
public
function
__construct
(
$matches
,
$numFound
,
$start
,
$maximumScore
,
$documents
)
public
function
__construct
(
$matches
,
$numFound
,
$start
,
$maximumScore
,
$documents
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Grouping/Result.php
View file @
f3e63558
...
@@ -56,8 +56,7 @@ class Result implements \IteratorAggregate, \Countable
...
@@ -56,8 +56,7 @@ class Result implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $groups
* @param array $groups
* @return void
*/
*/
public
function
__construct
(
$groups
)
public
function
__construct
(
$groups
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Grouping/ValueGroup.php
View file @
f3e63558
...
@@ -77,11 +77,10 @@ class ValueGroup implements \IteratorAggregate, \Countable
...
@@ -77,11 +77,10 @@ class ValueGroup implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param string $value
* @param string $value
* @param int $numFound
* @param int $numFound
* @param int $start
* @param int $start
* @param array $documents
* @param array $documents
* @return void
*/
*/
public
function
__construct
(
$value
,
$numFound
,
$start
,
$documents
)
public
function
__construct
(
$value
,
$numFound
,
$start
,
$documents
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Highlighting/Highlighting.php
View file @
f3e63558
...
@@ -55,8 +55,7 @@ class Highlighting implements \IteratorAggregate, \Countable
...
@@ -55,8 +55,7 @@ class Highlighting implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $results
* @param array $results
* @return void
*/
*/
public
function
__construct
(
$results
)
public
function
__construct
(
$results
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Highlighting/Result.php
View file @
f3e63558
...
@@ -54,8 +54,7 @@ class Result implements \IteratorAggregate, \Countable
...
@@ -54,8 +54,7 @@ class Result implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $fields
* @param array $fields
* @return void
*/
*/
public
function
__construct
(
$fields
)
public
function
__construct
(
$fields
)
{
{
...
...
library/Solarium/QueryType/Select/Result/MoreLikeThis/MoreLikeThis.php
View file @
f3e63558
...
@@ -55,8 +55,7 @@ class MoreLikeThis implements \IteratorAggregate, \Countable
...
@@ -55,8 +55,7 @@ class MoreLikeThis implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $results
* @param array $results
* @return void
*/
*/
public
function
__construct
(
$results
)
public
function
__construct
(
$results
)
{
{
...
...
library/Solarium/QueryType/Select/Result/MoreLikeThis/Result.php
View file @
f3e63558
...
@@ -71,10 +71,9 @@ class Result implements \IteratorAggregate, \Countable
...
@@ -71,10 +71,9 @@ class Result implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param int $numFound
* @param int $numFound
* @param float $maxScore
* @param float $maxScore
* @param array $documents
* @param array $documents
* @return void
*/
*/
public
function
__construct
(
$numFound
,
$maxScore
,
$documents
)
public
function
__construct
(
$numFound
,
$maxScore
,
$documents
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Spellcheck/Result.php
View file @
f3e63558
...
@@ -70,10 +70,9 @@ class Result implements \IteratorAggregate, \Countable
...
@@ -70,10 +70,9 @@ class Result implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $suggestions
* @param array $suggestions
* @param array $collations
* @param array $collations
* @param boolean $correctlySpelled
* @param boolean $correctlySpelled
* @return void
*/
*/
public
function
__construct
(
$suggestions
,
$collations
,
$correctlySpelled
)
public
function
__construct
(
$suggestions
,
$collations
,
$correctlySpelled
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Stats/FacetValue.php
View file @
f3e63558
...
@@ -61,9 +61,8 @@ class FacetValue
...
@@ -61,9 +61,8 @@ class FacetValue
/**
/**
* Constructor
* Constructor
*
*
* @param string $value
* @param string $value
* @param array $stats
* @param array $stats
* @return void
*/
*/
public
function
__construct
(
$value
,
$stats
)
public
function
__construct
(
$value
,
$stats
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Stats/Result.php
View file @
f3e63558
...
@@ -61,9 +61,8 @@ class Result
...
@@ -61,9 +61,8 @@ class Result
/**
/**
* Constructor
* Constructor
*
*
* @param string $field
* @param string $field
* @param array $stats
* @param array $stats
* @return void
*/
*/
public
function
__construct
(
$field
,
$stats
)
public
function
__construct
(
$field
,
$stats
)
{
{
...
...
library/Solarium/QueryType/Select/Result/Stats/Stats.php
View file @
f3e63558
...
@@ -55,8 +55,7 @@ class Stats implements \IteratorAggregate, \Countable
...
@@ -55,8 +55,7 @@ class Stats implements \IteratorAggregate, \Countable
/**
/**
* Constructor
* Constructor
*
*
* @param array $results
* @param array $results
* @return void
*/
*/
public
function
__construct
(
$results
)
public
function
__construct
(
$results
)
{
{
...
...
library/Solarium/QueryType/Suggester/RequestBuilder.php
View file @
f3e63558
...
@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -50,7 +50,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for a Suggester query
* Build request for a Suggester query
*
*
* @param Query $query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Terms/RequestBuilder.php
View file @
f3e63558
...
@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for a Terms query
* Build request for a Terms query
*
*
* @param Query $query
* @param Query
Interface|Query
$query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$query
)
...
...
library/Solarium/QueryType/Update/RequestBuilder.php
View file @
f3e63558
...
@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder
...
@@ -53,7 +53,7 @@ class RequestBuilder extends BaseRequestBuilder
/**
/**
* Build request for an update query
* Build request for an update query
*
*
* @param UpdateQuery $query
* @param
QueryInterface|
UpdateQuery $query
* @return Request
* @return Request
*/
*/
public
function
build
(
QueryInterface
$query
)
public
function
build
(
QueryInterface
$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