]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/controller/class_InvalidControllerException.php
Replaced more double-quotes to single, exposed in exception AlreadyInitializedStacke...
[core.git] / inc / classes / exceptions / controller / class_InvalidControllerException.php
index c8234e15a8e26bd3bf0f4ce6ce98c9ae5d775b5a..8aea245fa8cb5ce4439b266bd734a39f104dff98 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 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -29,9 +29,9 @@ class InvalidControllerException extends FrameworkException {
         * @param       $code           An optional code for better debugging
         * @return      void
         */
-       public function __construct(array $msgArray, $code) {
+       public function __construct (array $msgArray, $code) {
                // Prepare the message
-               $message = sprintf("[%s:%d] Cannot resolve controller <span class=\"exception_reason\">%s (class name: %s)</span>.",
+               $message = sprintf('[%s:%d] Cannot resolve controller <span class="exception_reason">%s (class name: %s)</span>.',
                        $msgArray[0]->__toString(),
                        $this->getLine(),
                        $msgArray[1],
@@ -39,7 +39,7 @@ class InvalidControllerException extends FrameworkException {
                );
 
                // Set extra data
-               $this->setExtraData($msgArray[0]->getClassName().':'.$this->getLine());
+               $this->setExtraData($msgArray[0]->getClassName() . ':' . $this->getLine());
 
                // Call parent contructor with message
                parent::__construct($message, $code);