Skip to content
This repository
Browse code

replacing double quotes with single quotes (Zend)

  • Loading branch information...
commit 6cbee1a523c2a0cf6ae6c21752cab9c59ac5026a 1 parent b7f5e08
authored October 12, 2010

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  src/KLogger.php
10  src/KLogger.php
@@ -7,9 +7,9 @@
7 7
  *
8 8
  * Usage:
9 9
  * $log = new KLogger('/var/log/', KLogger::INFO );
10  
- * $log->logInfo("Returned a million search results"); //Prints to the log file
11  
- * $log->logFatal("Oh dear."); //Prints to the log file
12  
- * $log->logDebug("x = 5"); //Prints nothing due to current severity threshhold
  10
+ * $log->logInfo('Returned a million search results'); //Prints to the log file
  11
+ * $log->logFatal('Oh dear.'); //Prints to the log file
  12
+ * $log->logDebug('x = 5'); //Prints nothing due to current severity threshhold
13 13
  *
14 14
  * @author  Kenny Katzgrau <katzgrau@gmail.com>
15 15
  * @since   July 26, 2008
@@ -85,7 +85,7 @@ class KLogger
85 85
      * Valid PHP date() format string for log timestamps
86 86
      * @var string
87 87
      */
88  
-    private static $_dateFormat         = "Y-m-d G:i:s";
  88
+    private static $_dateFormat         = 'Y-m-d G:i:s';
89 89
     /**
90 90
      * Octal notation for default permissions of the log file
91 91
      * @var integer
@@ -160,7 +160,7 @@ public function __construct($logDirectory, $severity)
160 160
             return;
161 161
         }
162 162
 
163  
-        if (($this->_fileHandle = fopen($this->_logFilePath, "a"))) {
  163
+        if (($this->_fileHandle = fopen($this->_logFilePath, 'a'))) {
164 164
             $this->_logStatus = self::STATUS_LOG_OPEN;
165 165
             $this->_messageQueue[] = $this->_messages['opensuccess'];
166 166
         } else {

0 notes on commit 6cbee1a

Please sign in to comment.
Something went wrong with that request. Please try again.