Code Duplication    Length = 12-12 lines in 2 locations

src/Query/OperationMutation.php 1 location

@@ 5-16 (lines=12) @@
2
3
namespace HansOtt\GraphQL\Query;
4
5
final class OperationMutation extends OperationBase
6
{
7
    public function __construct(
8
        $name,
9
        array $variables = array(),
10
        $directives = array(),
11
        SelectionSet $selectionSet,
12
        Location $location = null
13
    ) {
14
        parent::__construct($name, $variables, $directives, $selectionSet, $location);
15
    }
16
}
17

src/Query/OperationSubscription.php 1 location

@@ 5-16 (lines=12) @@
2
3
namespace HansOtt\GraphQL\Query;
4
5
final class OperationSubscription extends OperationBase
6
{
7
    public function __construct(
8
        $name,
9
        array $variables = array(),
10
        $directives = array(),
11
        SelectionSet $selectionSet,
12
        Location $location = null
13
    ) {
14
        parent::__construct($name, $variables, $directives, $selectionSet, $location);
15
    }
16
}
17