summaryrefslogtreecommitdiffstats
path: root/lib/log.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
commitf8d1d7787e1112842db81a629dfd84b586fbebda (patch)
tree65ca5da914f492411485ccb61a707b00686ba8f6 /lib/log.php
parent17d466b03b91ccc058fe1a88340df36c22a580c2 (diff)
downloadnextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.tar.gz
nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.zip
Checkstyle fixes for SpaceBeforeOpenBrace
Diffstat (limited to 'lib/log.php')
-rw-r--r--lib/log.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/log.php b/lib/log.php
index 3fc1e3976a1..b5e8e1b06a1 100644
--- a/lib/log.php
+++ b/lib/log.php
@@ -41,7 +41,7 @@ class OC_Log {
}
//Fatal errors handler
- public static function onShutdown(){
+ public static function onShutdown() {
$error = error_get_last();
if($error) {
//ob_end_clean();
@@ -52,12 +52,12 @@ class OC_Log {
}
// Uncaught exception handler
- public static function onException($exception){
+ public static function onException($exception) {
self::write('PHP', $exception->getMessage() . ' at ' . $exception->getFile() . '#' . $exception->getLine(), self::FATAL);
}
//Recoverable errors handler
- public static function onError($number, $message, $file, $line){
+ public static function onError($number, $message, $file, $line) {
if (error_reporting() === 0) {
return;
}