@@ -26,6 +26,9 @@ |
||
26 | 26 | */ |
27 | 27 | const ISO_TIME = 'HH:mm:ss'; |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $value |
|
31 | + */ |
|
29 | 32 | public function setValue($value, $record = null, $markChanged = true) |
30 | 33 | { |
31 | 34 | $value = $this->parseTime($value); |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | * Return a date formatted as per a CMS user's settings. |
246 | 246 | * |
247 | 247 | * @param Member $member |
248 | - * @return boolean | string A date formatted as per user-defined settings. |
|
248 | + * @return null|string | string A date formatted as per user-defined settings. |
|
249 | 249 | */ |
250 | 250 | public function FormatFromSettings($member = null) |
251 | 251 | { |
@@ -551,7 +551,7 @@ discard block |
||
551 | 551 | * Attempt to split date string into year, month, day, and timestamp components. |
552 | 552 | * |
553 | 553 | * @param string $value |
554 | - * @return array |
|
554 | + * @return string[] |
|
555 | 555 | */ |
556 | 556 | protected function explodeDateString($value) |
557 | 557 | { |
@@ -31,6 +31,9 @@ |
||
31 | 31 | Injector::inst()->get(CacheInterface::class . '.cacheblock')->clear(); |
32 | 32 | } |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $template |
|
36 | + */ |
|
34 | 37 | protected function _runtemplate($template, $data = null) |
35 | 38 | { |
36 | 39 | if ($data === null) { |
@@ -12,8 +12,6 @@ |
||
12 | 12 | * Note: While the returned object is used as a singleton (by the originating Injector->get() call), |
13 | 13 | * this cache object shouldn't be a singleton itself - it has varying constructor args for the same service name. |
14 | 14 | * |
15 | - * @param string $class |
|
16 | - * @param array $args |
|
17 | 15 | * @return CacheInterface |
18 | 16 | */ |
19 | 17 | public function create($service, array $params = array()); |