| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 86.67% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class CategoryController extends Controller |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Show the form for creating a new resource. |
||
| 15 | * |
||
| 16 | * @return \Illuminate\Http\Response |
||
| 17 | */ |
||
| 18 | public function create() |
||
| 19 | { |
||
| 20 | return view('categories.create'); |
||
|
|
|||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Show the form for creating a new resource. |
||
| 25 | * |
||
| 26 | * @param Request|CategoryRequest $request |
||
| 27 | * @return \Illuminate\Database\Eloquent\Model |
||
| 28 | */ |
||
| 29 | |||
| 30 | 2 | public function store(CategoryRequest $request) |
|
| 47 | } |
||
| 48 | } |
||
| 49 |