[libvirt-php][PATCH 06/14] examples: Fix curly braces indent in libvirt.php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The majority of the code has opening curly brace at the very same
line as the function declaration. Except for the two:
_set_last_error() and set_logfile(). Fix them.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 examples/libvirt.php | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/examples/libvirt.php b/examples/libvirt.php
index 9107885..c60889a 100644
--- a/examples/libvirt.php
+++ b/examples/libvirt.php
@@ -12,14 +12,12 @@ class Libvirt {
             $this->connect($uri);
     }
 
-    function _set_last_error()
-    {
+    function _set_last_error() {
         $this->last_error = libvirt_get_last_error();
         return false;
     }
 
-    function set_logfile($filename)
-    {
+    function set_logfile($filename) {
         if (!libvirt_logfile_set($filename))
             return $this->_set_last_error();
 
-- 
2.8.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]