@@ -65,7 +65,7 @@ |
||
65 | 65 | /** |
66 | 66 | * @param $options OrgChartOptions |
67 | 67 | * |
68 | - * @return Map |
|
68 | + * @return OrgChart |
|
69 | 69 | */ |
70 | 70 | public function setOptions($options) |
71 | 71 | { |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function removeRecursivelyNullValue(&$options) |
18 | 18 | { |
19 | - $options = array_filter((array) $options, function ($val) { |
|
19 | + $options = array_filter((array)$options, function($val) { |
|
20 | 20 | return !is_null($val); |
21 | 21 | }); |
22 | 22 |
@@ -176,7 +176,7 @@ |
||
176 | 176 | */ |
177 | 177 | public function loadLibraries(array $packages) |
178 | 178 | { |
179 | - array_walk($packages, function (&$item) { |
|
179 | + array_walk($packages, function(&$item) { |
|
180 | 180 | $item = "'".$item."'"; |
181 | 181 | }); |
182 | 182 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function draw(\DateTimeInterface $date) |
16 | 16 | { |
17 | - return 'new Date('.$date->format('Y').', '.($date->format('n') - 1).', '.$date->format('j').', '. |
|
17 | + return 'new Date('.$date->format('Y').', '.($date->format('n')-1).', '.$date->format('j').', '. |
|
18 | 18 | $date->format('H').', '.$date->format('i').', '.$date->format('s').')'; |
19 | 19 | } |
20 | 20 | } |