[Pkg-owncloud-commits] [php-sabre-vobject] 279/341: Fixed type hint
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit 9280ef9df3cad2d74ae3f4219b5d89d39369bccc
Author: Dominik Tobschall <dominik at fruux.com>
Date: Tue Jun 9 18:29:26 2015 +0200
Fixed type hint
---
lib/Property/VCard/Date.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Property/VCard/Date.php b/lib/Property/VCard/Date.php
index 01274e5..2369447 100644
--- a/lib/Property/VCard/Date.php
+++ b/lib/Property/VCard/Date.php
@@ -30,10 +30,10 @@ class Date extends DateAndOrTime {
/**
* Sets the property as a DateTime object.
*
- * @param \DateTime $dt
+ * @param \DateTimeInterface $dt
* @return void
*/
- public function setDateTime(\DateTime $dt) {
+ public function setDateTime(\DateTimeInterface $dt) {
$this->value = $dt->format('Ymd');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list