Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class Update extends SplArrayObject |
||
25 | { |
||
26 | /** |
||
27 | * Update::__construct |
||
28 | */ |
||
29 | public function __construct() |
||
30 | { |
||
31 | parent::__construct([ |
||
32 | 'user' => null, |
||
33 | 'timestamp' => null |
||
34 | ]); |
||
35 | } |
||
36 | |||
37 | // ------------------------------------------------------------------------ |
||
38 | |||
39 | /** |
||
40 | * Update::offsetSet |
||
41 | * |
||
42 | * @param string $index |
||
43 | * @param mixed $value |
||
44 | * |
||
45 | * @throws \Exception |
||
46 | */ |
||
47 | public function offsetSet($index, $value) |
||
54 | } |
||
55 | } |