]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/image/class_ImageCodeCaptchaCommand.php
Copyright year updated, converted double->single quotes
[core.git] / inc / classes / main / commands / image / class_ImageCodeCaptchaCommand.php
index 61554f83108d2d47a92545251d329a1946a561b0..a08ddb8c62c5234a22f600d889e89d0b22ab2615 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A command for creating code CAPTCHAs
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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);