]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 3 Jul 2018 22:44:35 +0000 (00:44 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 3 Jul 2018 22:44:35 +0000 (00:44 +0200)
- opps, to less unit tests to find this ... :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/response/class_BaseResponse.php
framework/main/classes/response/html/class_HtmlResponse.php
framework/main/classes/response/image/class_ImageResponse.php

index 625c1d95b38f30600c984452bedb7bb86d8a5a1a..b2e137dee471c81d32a7a76c4e327f69acf8b7ec 100644 (file)
@@ -155,7 +155,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
                $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Adds the resolved message id to the fatal message list
-               $this->addFatalMessagePlain($applicationInstance()->getLanguageInstance()->getMessage($messageId));
+               $this->addFatalMessagePlain($applicationInstance->getLanguageInstance()->getMessage($messageId));
        }
 
        /**
@@ -225,7 +225,7 @@ abstract class BaseResponse extends BaseFrameworkSystem {
                        $this->getWebOutputInstance()->output($this->responseBody);
                } else {
                        // Display all error messages
-                       $applicationInstance()->handleFatalMessages($this->getGenericArrayKey('fatal_messages', 'generic', 'message'));
+                       $applicationInstance->handleFatalMessages($this->getGenericArrayKey('fatal_messages', 'generic', 'message'));
 
                        // Send the error messages out to the world
                        $this->getWebOutputInstance()->output($this->responseBody);
index 03815a9ec35488489d8006c1f85c41baaa439020..f0eb0bbb966d280ba877b1f41027edde2fd850cf 100644 (file)
@@ -140,7 +140,7 @@ class HtmlResponse extends BaseResponse implements Responseable {
                } // END - if
 
                // Assign application data
-               $this->getTemplateInstance()->assignApplicationData($applicationInstance());
+               $this->getTemplateInstance()->assignApplicationData($applicationInstance);
 
                // Get the url from config
                $url = $this->getConfigInstance()->getConfigEntry($configEntry . '_url');
index a2fc7a065b5a34ee367f681aeca2c886ea5a9219..2ff80036c3f40f7cb4209a03f5b137816daa21e6 100644 (file)
@@ -150,7 +150,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                } // END - if
 
                // Assign application data
-               $this->getTemplateInstance()->assignApplicationData($applicationInstance());
+               $this->getTemplateInstance()->assignApplicationData($applicationInstance);
 
                // Get the url from config
                $url = $this->getConfigInstance()->getConfigEntry($configEntry . '_url');