Completed
Push — feature/fixing_cost ( 414fbf...99877f )
by Laurent
01:40
created

FlightController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A view() 0 4 1
1
<?php
2
3
4
namespace FlightLog\Http\Web\Controller;
5
6
7
final class FlightController extends WebController
8
{
9
    public function view(){
10
        $id = $this->request->getParam('id');
11
        return $this->redirect(DOL_URL_ROOT.'/flightlog/card.php?id='.$id);
12
    }
13
14
}