[Pkg-owncloud-commits] [php-sabre-vobject] 88/341: !xml Add a typehint for $parentComponent.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:37 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 b31b994f4f8c59fcb4873dc7dc9dbbbc3485ea68
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Mon Nov 24 18:15:22 2014 +0100
!xml Add a typehint for $parentComponent.
---
lib/Parser/XML.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index 9339a2d..71ba4cc 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -3,6 +3,7 @@
namespace Sabre\VObject\Parser;
use
+ Sabre\VObject\Component,
Sabre\VObject\Component\VCalendar,
Sabre\VObject\Component\VCard,
Sabre\XML as SabreXML;
@@ -74,7 +75,7 @@ class XML extends Parser {
* @param Sabre\VObject\Component $parentComponent
* @param int|null $options
*/
- protected function parseVcalendarComponents ( $parentComponent, $options = null ) {
+ protected function parseVcalendarComponents ( Component $parentComponent, $options = null ) {
foreach($this->pointer['value'] as $children) {
--
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