Author: sevein
Date: Wed Jul  4 14:10:43 2012
New Revision: 11851

Log:
Cosmetic changes

Modified:
   trunk/lib/QubitPdo.class.php

Modified: trunk/lib/QubitPdo.class.php
==============================================================================
--- trunk/lib/QubitPdo.class.php        Wed Jul  4 13:53:39 2012        (r11850)
+++ trunk/lib/QubitPdo.class.php        Wed Jul  4 14:10:43 2012        (r11851)
@@ -31,7 +31,7 @@
 {
   protected static $conn;
 
-  public static function fetchAll($query, $parameters=array())
+  public static function fetchAll($query, $parameters = array())
   {
     $readStmt = self::prepareAndExecute($query, $parameters);
 
@@ -40,10 +40,10 @@
 
     unset($readStmt);
 
-    return($fetchedRows);
+    return $fetchedRows;
   }
 
-  public static function fetchOne($query, $parameters=array())
+  public static function fetchOne($query, $parameters = array())
   {
     $readStmt = self::prepareAndExecute($query, $parameters);
 
@@ -56,10 +56,10 @@
     $readStmt->closeCursor();
     unset($readStmt);
 
-    return($fetchedRow);
+    return $fetchedRow;
   }
 
-  public static function fetchColumn($query, $parameters=array(), $column=0)
+  public static function fetchColumn($query, $parameters = array(), $column = 
0)
   {
     $column = abs((int)$column);
 
@@ -69,17 +69,17 @@
     $readStmt->closeCursor();
     unset($readStmt);
 
-    return($fetchedColumn);
+    return $fetchedColumn;
   }
 
   public static function modify($query, $parameters)
   {
     $modifyStmt = self::prepareAndExecute($query, $parameters);
 
-    return($modifyStmt->rowCount());
+    return $modifyStmt->rowCount();
   }
 
-  private static function prepareAndExecute($query, $parameters=array())
+  private static function prepareAndExecute($query, $parameters = array())
   {
     if (!isset(self::$conn))
     {
@@ -89,6 +89,6 @@
     $prepStmt = self::$conn->prepare($query);
     $prepStmt->execute($parameters);
 
-    return($prepStmt);
+    return $prepStmt;
   }
 }

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to