[Pkg-owncloud-commits] [php-sabre-vobject] 33/43: triple-equals check

David Prévot taffit at moszumanska.debian.org
Fri Oct 10 14:16:17 UTC 2014


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 854df88f33d00cd864d2f0d8c05665b4b7948da6
Author: Dominik Tobschall <dominik at fruux.com>
Date:   Thu Oct 2 16:49:52 2014 +0200

    triple-equals check
---
 lib/Parameter.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Parameter.php b/lib/Parameter.php
index 3081bae..4200600 100644
--- a/lib/Parameter.php
+++ b/lib/Parameter.php
@@ -58,7 +58,7 @@ class Parameter extends Node {
             $this->noName = true;
             $this->name = static::guessParameterNameByValue($value);
         }
-        if ($this->name == '') {
+        if ($this->name === '') {
             $this->noName = false;
             $this->name = strtoupper($value);
         } else {

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