@@ -101,8 +101,7 @@ |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | $reply = $count > 0 ? |
| 104 | - BlockReplies::createSuccessReply($value) : |
|
| 105 | - BlockReplies::createErrorReply($context, $value, ErrorCodes::EXIST_IN_DATABASE_SINGLE); |
|
| 104 | + BlockReplies::createSuccessReply($value) : BlockReplies::createErrorReply($context, $value, ErrorCodes::EXIST_IN_DATABASE_SINGLE); |
|
| 106 | 105 | |
| 107 | 106 | return $reply; |
| 108 | 107 | } |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | $queryParser = $container->get(QueryParametersParserInterface::class); |
| 130 | 130 | $encodingParams = $queryParser->parse($request); |
| 131 | 131 | |
| 132 | - list ($filters, , $includes) = static::mapQueryParameters($container, $encodingParams, static::SCHEMA_CLASS); |
|
| 132 | + list ($filters,, $includes) = static::mapQueryParameters($container, $encodingParams, static::SCHEMA_CLASS); |
|
| 133 | 133 | |
| 134 | 134 | $index = $routeParams[static::ROUTE_KEY_INDEX]; |
| 135 | 135 | $response = static::readImpl( |
@@ -484,7 +484,7 @@ discard block |
||
| 484 | 484 | /** @var JsonSchemesInterface $jsonSchemes */ |
| 485 | 485 | $jsonSchemes = $container->get(JsonSchemesInterface::class); |
| 486 | 486 | $targetSchema = $jsonSchemes->getRelationshipSchema(static::SCHEMA_CLASS, $relationshipName); |
| 487 | - list ($filters, $sorts, , $paging) = |
|
| 487 | + list ($filters, $sorts,, $paging) = |
|
| 488 | 488 | static::mapQueryParameters($container, $encodingParams, get_class($targetSchema)); |
| 489 | 489 | |
| 490 | 490 | /** @var SchemaInterface $schemaClass */ |