Skip to content

Commit

Permalink
Fix compatibility with apitte/core
Browse files Browse the repository at this point in the history
  • Loading branch information
FVesely authored and mabar committed Aug 30, 2018
1 parent 8dc6478 commit bce24fb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Schema/Serialization/DebugSchemaDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ public function decorate(SchemaBuilder $builder): SchemaBuilder
{
foreach ($builder->getControllers() as $controller) {
foreach ($controller->getMethods() as $method) {
$negotiation1 = $method->addNegotiation();
$negotiation1->setSuffix('.debugdata');

$negotiation2 = $method->addNegotiation();
$negotiation2->setSuffix('.debug');
$method->addNegotiation('.debugdata');
$method->addNegotiation('.debug');
}
}

Expand Down

0 comments on commit bce24fb

Please sign in to comment.