1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 21:58:10 +02:00

typos & whitespace

This commit is contained in:
David Grudl
2013-07-02 18:42:55 +02:00
parent 0b49f7da94
commit d04eb76abb
54 changed files with 612 additions and 1298 deletions

View File

@@ -10,7 +10,6 @@
*/
/**
* dibi file logger.
*
@@ -26,7 +25,6 @@ class DibiFileLogger extends DibiObject
public $filter;
public function __construct($file, $filter = NULL)
{
$this->file = $file;
@@ -34,7 +32,6 @@ class DibiFileLogger extends DibiObject
}
/**
* After event notification.
* @return void
@@ -46,7 +43,9 @@ class DibiFileLogger extends DibiObject
}
$handle = fopen($this->file, 'a');
if (!$handle) return; // or throw exception?
if (!$handle) {
return; // or throw exception?
}
flock($handle, LOCK_EX);
if ($event->result instanceof Exception) {