Rewrites for client factory, added methods for HttpClient (mostly from ConsoleClient).
[core.git] / inc / classes / main / factories / objects / class_ObjectFactory.php
index a46749bc985a072c51c981a00519ea3bf50bb92e..a323b32a2959259584f625a41e6473c1b3544737 100644 (file)
@@ -58,7 +58,7 @@ class ObjectFactory extends BaseFactory {
                }
 
                // Create method name
-               $methodName = sprintf("create%s", $className);
+               $methodName = sprintf('create%s', $className);
 
                // Run the user function
                $objectInstance = call_user_func_array(array($className, $methodName), $args);