Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/traits/HelperTrait.php')
-rw-r--r--src/traits/HelperTrait.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/traits/HelperTrait.php b/src/traits/HelperTrait.php
index 347366d1..0728ede1 100644
--- a/src/traits/HelperTrait.php
+++ b/src/traits/HelperTrait.php
@@ -50,10 +50,10 @@ trait HelperTrait
*/
public function halt($msg = 'An error has happened'): void
{
- $body = $this->container->responseobj->getBody();
+ $body = \responseInstance()->getBody();
$body->write($msg);
- throw new \Slim\Exception\SlimException($this->container->requestobj, $this->container->responseobj);
+ throw new \Slim\Exception\SlimException(\requestInstance(), \responseInstance());
}
public static function getBackTrace($offset = 0)