Code Duplication    Length = 10-11 lines in 2 locations

module/Jobs/src/Jobs/Controller/ManageController.php 2 locations

@@ 282-291 (lines=10) @@
279
            }
280
            $pageLinkNext = null;
281
            $pageLinkPrevious = null;
282
            if (0 < $pageIdentifier) {
283
                $pageLinkPrevious = $this->url()->fromRoute(
284
                    'lang/jobs/manage',
285
                    [],
286
                    ['query' => [
287
                        'id' => $jobEntity->getId(),
288
                        'page' => $pageIdentifier - 1]
289
                    ]
290
                );
291
            }
292
            if ($pageIdentifier < count($pageToForm) - 1) {
293
                $pageLinkNext     = $this->url()->fromRoute(
294
                    'lang/jobs/manage',
@@ 292-302 (lines=11) @@
289
                    ]
290
                );
291
            }
292
            if ($pageIdentifier < count($pageToForm) - 1) {
293
                $pageLinkNext     = $this->url()->fromRoute(
294
                    'lang/jobs/manage',
295
                    [],
296
                    [
297
                        'query' => [
298
                            'id' => $jobEntity->getId(),
299
                            'page' => $pageIdentifier + 1]
300
                    ]
301
                );
302
            }
303
            $completionLink = $this->url()->fromRoute(
304
                'lang/jobs/completion',
305
                [ 'id' => $jobEntity->getId()]