Completed
Push — master ( 569715...39a6fc )
by Andrii
04:18
created

DateTimePicker::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/**
3
 * HiPanel core package.
4
 *
5
 * @link      https://hipanel.com/
6
 * @package   hipanel-core
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2014-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\widgets;
12
13
class DateTimePicker extends \dosamigos\datetimepicker\DateTimePicker
14
{
15
    public function init()
16
    {
17
        parent::init();
18
        unset($this->options['readonly']);
19
    }
20
}
21