Skip to content

Commit aca95fc

Browse files
committed
Compatability with PHP 5.3 and 5.4
1 parent 300a091 commit aca95fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Github/Api/Notification.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ public function all($includingRead = false, $participating = false, $since = nul
4545
*
4646
* @link https://developer.github.com/v3/activity/notifications/#mark-as-read
4747
*
48-
* @param DateTimeInterface $since
49-
*
48+
* @param \DateTime $since
5049
*/
51-
public function markRead(DateTimeInterface $since = null)
50+
public function markRead(DateTime $since = null)
5251
{
5352
$parameters = array();
5453

0 commit comments

Comments
 (0)