Code Duplication    Length = 15-15 lines in 3 locations

app/Controller/Course/CourseCreateController.php 1 location

@@ 57-71 (lines=15) @@
54
     * @param ResponseManagerInterface $responseManager
55
     * @param ValidatorInterface       $validator
56
     */
57
    public function __construct(
58
        string $defaultLanguage,
59
        ErrorManager $errorManager,
60
        RepositoryInterface $repository,
61
        RequestManagerInterface $requestManager,
62
        ResponseManagerInterface $responseManager,
63
        ValidatorInterface $validator
64
    ) {
65
        $this->defaultLanguage = $defaultLanguage;
66
        $this->errorManager = $errorManager;
67
        $this->repository = $repository;
68
        $this->requestManager = $requestManager;
69
        $this->responseManager = $responseManager;
70
        $this->validator = $validator;
71
    }
72
73
    /**
74
     * @param Request $request

app/Controller/Course/CourseSearchController.php 1 location

@@ 58-72 (lines=15) @@
55
     * @param ResponseManagerInterface $responseManager
56
     * @param ValidatorInterface       $validator
57
     */
58
    public function __construct(
59
        string $defaultLanguage,
60
        ErrorManager $errorManager,
61
        RepositoryInterface $repository,
62
        RequestManagerInterface $requestManager,
63
        ResponseManagerInterface $responseManager,
64
        ValidatorInterface $validator
65
    ) {
66
        $this->defaultLanguage = $defaultLanguage;
67
        $this->errorManager = $errorManager;
68
        $this->repository = $repository;
69
        $this->requestManager = $requestManager;
70
        $this->responseManager = $responseManager;
71
        $this->validator = $validator;
72
    }
73
74
    /**
75
     * @param Request $request

app/Controller/Course/CourseUpdateController.php 1 location

@@ 57-71 (lines=15) @@
54
     * @param ResponseManagerInterface $responseManager
55
     * @param ValidatorInterface       $validator
56
     */
57
    public function __construct(
58
        string $defaultLanguage,
59
        ErrorManager $errorManager,
60
        RepositoryInterface $repository,
61
        RequestManagerInterface $requestManager,
62
        ResponseManagerInterface $responseManager,
63
        ValidatorInterface $validator
64
    ) {
65
        $this->defaultLanguage = $defaultLanguage;
66
        $this->errorManager = $errorManager;
67
        $this->repository = $repository;
68
        $this->requestManager = $requestManager;
69
        $this->responseManager = $responseManager;
70
        $this->validator = $validator;
71
    }
72
73
    /**
74
     * @param Request $request