Completed
Push — master ( 449ed8...2805a1 )
by Ingo
08:55
created
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.
src/ORM/FieldType/DBDate.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.