Completed
Push — master ( 8963b2...b89872 )
by Andy
04:37
created
src/Objects/Event.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         return $this->currentAt(new DateTime);
71 71
     }
72 72
 
73
+    /**
74
+     * @param DateTime $when
75
+     */
73 76
     public function currentAt($when)
74 77
     {
75 78
         return ($when >= $this->startDate && $when <= $this->endDate);
Please login to merge, or discard this patch.
src/Objects/Membership.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
         return $this->currentAt(new DateTime);
120 120
     }
121 121
 
122
+    /**
123
+     * @param DateTime $when
124
+     */
122 125
     public function currentAt($when)
123 126
     {
124 127
         return ($when >= $this->startDate && $when <= $this->endDate);
Please login to merge, or discard this patch.