CS fixes for 3.1

This commit is contained in:
Tim Nagel 2015-03-12 21:45:24 +11:00
commit 89db88c2a0
20 changed files with 54 additions and 43 deletions

View file

@ -3,7 +3,6 @@
namespace FOS\ElasticaBundle\Command;
use FOS\ElasticaBundle\Event\IndexPopulateEvent;
use FOS\ElasticaBundle\Event\PopulateEvent;
use FOS\ElasticaBundle\Event\TypePopulateEvent;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Helper\DialogHelper;
@ -181,8 +180,8 @@ class PopulateCommand extends ContainerAwareCommand
* Refreshes an index.
*
* @param OutputInterface $output
* @param string $index
* @param bool $postPopulate
* @param string $index
* @param bool $postPopulate
*/
private function refreshIndex(OutputInterface $output, $index, $postPopulate = true)
{

View file

@ -21,9 +21,10 @@ class ProgressClosureBuilder
* line.
*
* @param OutputInterface $output
* @param string $action
* @param string $index
* @param string $type
* @param string $action
* @param string $index
* @param string $type
*
* @return callable
*/
public function build(OutputInterface $output, $action, $index, $type)
@ -58,9 +59,10 @@ class ProgressClosureBuilder
* methods to support what we need.
*
* @param OutputInterface $output
* @param string $action
* @param string $index
* @param string $type
* @param string $action
* @param string $index
* @param string $type
*
* @return callable
*/
private function buildLegacy(OutputInterface $output, $action, $index, $type)