Completed
Pull Request — master (#6607)
by Damian
09:05
created
src/ORM/FieldType/DBDate.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      * Return a date formatted as per a CMS user's settings.
249 249
      *
250 250
      * @param Member $member
251
-     * @return boolean | string A date formatted as per user-defined settings.
251
+     * @return null|string | string A date formatted as per user-defined settings.
252 252
      */
253 253
     public function FormatFromSettings($member = null)
254 254
     {
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
      * Don't read this code without a drink in hand!
573 573
      *
574 574
      * @param string $value
575
-     * @return array
575
+     * @return string[]
576 576
      */
577 577
     protected function explodeDateString($value)
578 578
     {
Please login to merge, or discard this patch.
src/ORM/FieldType/DBDatetime.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * Return a date and time formatted as per a CMS user's settings.
86 86
      *
87 87
      * @param Member $member
88
-     * @return boolean | string A time and date pair formatted as per user-defined settings.
88
+     * @return null|string | string A time and date pair formatted as per user-defined settings.
89 89
      */
90 90
     public function FormatFromSettings($member = null)
91 91
     {
Please login to merge, or discard this patch.
src/ORM/FieldType/DBTime.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.