You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: '#Property ApiPlatform\\Core\\Test\\DoctrineMongoDbOdmFilterTestCase::\$repository \(Doctrine\\ODM\\MongoDB\\Repository\\DocumentRepository\) does not accept Doctrine\\ORM\\EntityRepository<ApiPlatform\\Core\\Tests\\Fixtures\\TestBundle\\Document\\Dummy>\.#'
@@ -46,15 +47,16 @@ public function toString(): string
46
47
}
47
48
48
49
/**
49
-
* @param array $other
50
+
* @param array|object $other
50
51
*/
51
52
protectedfunctionmatches($other): bool
52
53
{
53
54
if (!class_exists(Validator::class)) {
54
55
thrownew \RuntimeException('The "justinrainbow/json-schema" library must be installed to use "assertMatchesJsonSchema()". Try running "composer require --dev justinrainbow/json-schema".');
->addOption('itemOperation', null, InputOption::VALUE_REQUIRED, 'The item operation')
54
55
->addOption('collectionOperation', null, InputOption::VALUE_REQUIRED, 'The collection operation')
55
56
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The response format', (string) $this->formats[0])
56
-
->addOption('type', null, InputOption::VALUE_REQUIRED, 'The type of schema to generate (input or output)', 'input');
57
+
->addOption('type', null, InputOption::VALUE_REQUIRED, sprintf('The type of schema to generate (%s or %s)', Schema::TYPE_INPUT, Schema::TYPE_OUTPUT), Schema::TYPE_INPUT);
57
58
}
58
59
59
60
/**
@@ -71,11 +72,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments