[Pkg-owncloud-commits] [php-sabre-vobject] 151/341: Fix CS.

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:35:43 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 2c9448b3d22e5ef6059ea1ed3bb9017e0893ca04
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Mon Jan 19 11:06:48 2015 +0100

    Fix CS.
---
 lib/Property/Boolean.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Property/Boolean.php b/lib/Property/Boolean.php
index 1f23158..f45cc29 100644
--- a/lib/Property/Boolean.php
+++ b/lib/Property/Boolean.php
@@ -30,7 +30,7 @@ class Boolean extends Property {
      */
     public function setRawMimeDirValue($val) {
 
-        $val = strtoupper($val)==='TRUE'?true:false;
+        $val = strtoupper($val) === 'TRUE' ? true : false;
         $this->setValue($val);
 
     }
@@ -42,7 +42,7 @@ class Boolean extends Property {
      */
     public function getRawMimeDirValue() {
 
-        return $this->value?'TRUE':'FALSE';
+        return $this->value ? 'TRUE' : 'FALSE';
 
     }
 

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