]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/image/class_ImageCodeCaptchaCommand.php
As of a good naming convention, do not short-cut variables
[core.git] / inc / classes / main / commands / image / class_ImageCodeCaptchaCommand.php
index 9a7013383b5fd90989c3abeca9940a87ab03e457..f44f13b1364b8b7b3f63b4c747b887145689b4ec 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -38,7 +38,7 @@ class ImageCodeCaptchaCommand extends BaseCommand implements Commandable {
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public final static function createImageCodeCaptchaCommand (CommandResolver $resolverInstance) {
+       public static final function createImageCodeCaptchaCommand (CommandResolver $resolverInstance) {
                // Get new instance
                $commandInstance = new ImageCodeCaptchaCommand();
 
@@ -61,10 +61,10 @@ class ImageCodeCaptchaCommand extends BaseCommand implements Commandable {
                $decryptedCode = $requestInstance->getRequestElement('decrypted');
 
                // Get the application instance
-               $appInstance = $this->getResolverInstance()->getApplicationInstance();
+               $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
 
                // Prepare a template instance
-               $templateInstance = $this->prepareTemplateInstance($appInstance);
+               $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Assign variable
                $templateInstance->assignVariable('decrypted_code', $decryptedCode);