[Pkg-owncloud-commits] [php-sabre-vobject] 104/341: !xml CS.

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:35:38 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 cb0eccd805a5746e4b9d51a7f29755d49f74fa86
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Mon Jan 12 16:15:04 2015 +0100

    !xml CS.
---
 lib/Parser/XML.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index cd61815..ce4c166 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -72,14 +72,16 @@ class XML extends Parser {
      */
     public function parse($input = null, $options = 0) {
 
-        if (!is_null($input))
+        if (!is_null($input)) {
             $this->setInput($input);
+        }
 
         if (0 === $options)
             $this->options = $options;
 
-        if (is_null($this->input))
+        if (is_null($this->input)) {
             throw new EofException('End of input stream, or no input supplied');
+        }
 
         if ($this->input['name'] === '{' . self::XCAL_NAMESPACE . '}icalendar') {
 

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