[Pkg-owncloud-commits] [php-sabre-vobject] 09/43: Suggestions from sensiolabs insight.

David Prévot taffit at moszumanska.debian.org
Sat Jan 10 14:20:13 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 1c253c2daf489f364643f5ba5ef003a276952fe0
Author: Evert Pot <me at evertpot.com>
Date:   Thu Dec 11 14:40:01 2014 -0500

    Suggestions from sensiolabs insight.
---
 lib/Property/ICalendar/DateTime.php | 1 -
 lib/VCardConverter.php              | 6 ++----
 lib/timezonedata/windowszones.php   | 2 +-
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/lib/Property/ICalendar/DateTime.php b/lib/Property/ICalendar/DateTime.php
index 5e7eb59..5154b97 100644
--- a/lib/Property/ICalendar/DateTime.php
+++ b/lib/Property/ICalendar/DateTime.php
@@ -4,7 +4,6 @@ namespace Sabre\VObject\Property\ICalendar;
 
 use DateTimeZone;
 use Sabre\VObject\Property;
-use Sabre\VObject\Parser\MimeDir;
 use Sabre\VObject\DateTimeParser;
 use Sabre\VObject\TimeZoneUtil;
 
diff --git a/lib/VCardConverter.php b/lib/VCardConverter.php
index 87d6c14..60e78f6 100644
--- a/lib/VCardConverter.php
+++ b/lib/VCardConverter.php
@@ -96,7 +96,7 @@ class VCardConverter {
 
             if ($property instanceof Property\Uri && in_array($property->name, array('PHOTO','LOGO','SOUND'))) {
 
-                $newProperty = $this->convertUriToBinary($output, $newProperty, $parameters);
+                $newProperty = $this->convertUriToBinary($output, $newProperty);
 
             } elseif ($property instanceof Property\VCard\DateAndOrTime) {
 
@@ -319,11 +319,9 @@ class VCardConverter {
      *
      * @param Component\VCard $output
      * @param Property\Uri $property The input property.
-     * @param $parameters List of parameters that will eventually be added to
-     *                    the new property.
      * @return Property\Binary|null
      */
-    protected function convertUriToBinary(Component\VCard $output, Property\Uri $newProperty, array &$parameters) {
+    protected function convertUriToBinary(Component\VCard $output, Property\Uri $newProperty) {
 
         $value = $newProperty->getValue();
 
diff --git a/lib/timezonedata/windowszones.php b/lib/timezonedata/windowszones.php
index 9d723e3..6150b44 100644
--- a/lib/timezonedata/windowszones.php
+++ b/lib/timezonedata/windowszones.php
@@ -111,4 +111,4 @@ return array (
   'West Asia Standard Time' => 'Asia/Tashkent',
   'West Pacific Standard Time' => 'Pacific/Port_Moresby',
   'Yakutsk Standard Time' => 'Asia/Yakutsk',
-);
\ No newline at end of file
+);

-- 
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