Skip to content

Commit

Permalink
We require at least 0.2.1 version of type-resolver, because of follow…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalabka committed Jan 2, 2019
1 parent 3d2153e commit 7706aa3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -35,7 +35,8 @@
"symfony/serializer": "^3.2|^4",
"symfony/yaml": "^3.2|^4",
"friendsofphp/php-cs-fixer": "^2.2",
"symfony/web-profiler-bundle": "^3.0|^4.0"
"symfony/web-profiler-bundle": "^3.0|^4.0",
"phpdocumentor/type-resolver": "~0.2.1"
},
"suggest": {
"enqueue/elastica-bundle": "The bundle adds extra features to FOSElasticaBundle bundle. Aimed to improve performance."
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/Index/TemplateResetterTest.php
Expand Up @@ -4,8 +4,8 @@

use Elastica\Client;
use Elastica\Request;
use FOS\ElasticaBundle\Configuration\ConfigManager;
use FOS\ElasticaBundle\Configuration\IndexTemplateConfig;
use FOS\ElasticaBundle\Configuration\ManagerInterface;
use FOS\ElasticaBundle\Elastica\IndexTemplate;
use FOS\ElasticaBundle\Index\IndexTemplateManager;
use FOS\ElasticaBundle\Index\MappingBuilder;
Expand All @@ -20,7 +20,7 @@
class TemplateResetterTest extends TestCase
{
/**
* @var ConfigManager
* @var ManagerInterface
*/
private $configManager;

Expand All @@ -46,7 +46,7 @@ class TemplateResetterTest extends TestCase

protected function setUp()
{
$this->configManager = $this->prophesize(ConfigManager::class);
$this->configManager = $this->prophesize(ManagerInterface::class);
$this->mappingBuilder = $this->prophesize(MappingBuilder::class);
$this->client = $this->prophesize(Client::class);
$this->templateManager = $this->prophesize(IndexTemplateManager::class);
Expand Down

0 comments on commit 7706aa3

Please sign in to comment.