Merge pull request #505 from piotrantosik/fix_docblocks

Fix some block comment
This commit is contained in:
Tim Nagel 2014-03-25 15:48:18 +11:00
commit e83ea0b6c8
5 changed files with 14 additions and 4 deletions

View file

@ -11,6 +11,9 @@ use FOS\ElasticaBundle\Logger\ElasticaLogger;
*/ */
class Client extends ElasticaClient class Client extends ElasticaClient
{ {
/**
* {@inheritdoc}
*/
public function request($path, $method = Request::GET, $data = array(), array $query = array()) public function request($path, $method = Request::GET, $data = array(), array $query = array())
{ {
$start = microtime(true); $start = microtime(true);

View file

@ -8,10 +8,14 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Bundle.
*
*/
class FOSElasticaBundle extends Bundle class FOSElasticaBundle extends Bundle
{ {
/** /**
* @see Symfony\Component\HttpKernel\Bundle\Bundle::build() * {@inheritdoc}
*/ */
public function build(ContainerBuilder $container) public function build(ContainerBuilder $container)
{ {

View file

@ -41,7 +41,8 @@ class RawPaginatorAdapter implements PaginatorAdapterInterface
* @see PaginatorAdapterInterface::__construct * @see PaginatorAdapterInterface::__construct
* *
* @param SearchableInterface $searchable the object to search in * @param SearchableInterface $searchable the object to search in
* @param Query $query the query to search * @param Query $query the query to search
* @param array $options
*/ */
public function __construct(SearchableInterface $searchable, Query $query, array $options = array()) public function __construct(SearchableInterface $searchable, Query $query, array $options = array())
{ {

View file

@ -14,8 +14,9 @@ class TransformedPaginatorAdapter extends RawPaginatorAdapter
private $transformer; private $transformer;
/** /**
* @param SearchableInterface $searchable the object to search in * @param SearchableInterface $searchable the object to search in
* @param Query $query the query to search * @param Query $query the query to search
* @param array $options
* @param ElasticaToModelTransformerInterface $transformer the transformer for fetching the results * @param ElasticaToModelTransformerInterface $transformer the transformer for fetching the results
*/ */
public function __construct(SearchableInterface $searchable, Query $query, array $options = array(), ElasticaToModelTransformerInterface $transformer) public function __construct(SearchableInterface $searchable, Query $query, array $options = array(), ElasticaToModelTransformerInterface $transformer)

View file

@ -62,6 +62,7 @@ class Resetter
* @param string $indexName * @param string $indexName
* @param string $typeName * @param string $typeName
* @throws \InvalidArgumentException if no index or type mapping exists for the given names * @throws \InvalidArgumentException if no index or type mapping exists for the given names
* @throws ResponseException
*/ */
public function resetIndexType($indexName, $typeName) public function resetIndexType($indexName, $typeName)
{ {