[Pkg-owncloud-commits] [php-sabre-vobject] 02/06: Forgot about the old array syntax

David Prévot taffit at moszumanska.debian.org
Sun Jun 14 20:41: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 f404987971e8120651ed4f6d295bb953379c059a
Author: Evert Pot <me at evertpot.com>
Date:   Thu May 28 18:15:55 2015 -0400

    Forgot about the old array syntax
---
 tests/VObject/Property/VCard/LanguageTagTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/VObject/Property/VCard/LanguageTagTest.php b/tests/VObject/Property/VCard/LanguageTagTest.php
index c38b6f2..8cae8a7 100644
--- a/tests/VObject/Property/VCard/LanguageTagTest.php
+++ b/tests/VObject/Property/VCard/LanguageTagTest.php
@@ -34,7 +34,7 @@ class LanguageTagTest extends \PHPUnit_Framework_TestCase {
         $this->assertInstanceOf('Sabre\VObject\Property\VCard\LanguageTag', $result->LANG);
         // This replicates what the vcard converter does and triggered a bug in
         // the past.
-        $result->LANG->setValue(['de']);
+        $result->LANG->setValue(array('de'));
 
         $this->assertEquals('de', $result->LANG->getValue());
 

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