[icinga-checkins] icinga.org: icingaweb2/feature/ emit-log-messages-in-the-webserver-s-log-11652: Conform to code style guidelines

git at icinga.org git at icinga.org
Thu Nov 3 12:51:50 CET 2016


Module: icingaweb2
Branch: feature/emit-log-messages-in-the-webserver-s-log-11652
Commit: ca8e4ea924be3c56b8fe195031868d4755d49ce4
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=ca8e4ea924be3c56b8fe195031868d4755d49ce4

Author: Alexander A. Klimov <alexander.klimov at icinga.com>
Date:   Thu Nov  3 12:01:03 2016 +0100

Conform to code style guidelines

refs #11652

---

 library/Icinga/Application/Logger/Writer/PhpWriter.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/Icinga/Application/Logger/Writer/PhpWriter.php b/library/Icinga/Application/Logger/Writer/PhpWriter.php
index 8e90612..9841982 100644
--- a/library/Icinga/Application/Logger/Writer/PhpWriter.php
+++ b/library/Icinga/Application/Logger/Writer/PhpWriter.php
@@ -16,7 +16,8 @@ class PhpWriter extends LogWriter
     /**
      * {@inheritdoc}
      */
-    public function log($severity, $message) {
+    public function log($severity, $message)
+    {
         error_log(Logger::$levels[$severity] . ' - ' . str_replace("\n", '    ', $message));
     }
 }



More information about the icinga-checkins mailing list