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:
authorFelipe Figueroa <amenadiel@gmail.com>2018-02-15 18:24:34 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-02-15 18:24:34 +0300
commitd62dd08ea5f4095cc59bd2c8c895160824f6fcd9 (patch)
treee0fc386737f6ddc64acb8d028ab72f6d379edc0d /src/controllers/IntroController.php
parent86de65b82a346ace16018f39866e5ed3996dacd1 (diff)
applies cs-fixer
Diffstat (limited to 'src/controllers/IntroController.php')
-rw-r--r--src/controllers/IntroController.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/controllers/IntroController.php b/src/controllers/IntroController.php
index cd9712bc..893d5c1e 100644
--- a/src/controllers/IntroController.php
+++ b/src/controllers/IntroController.php
@@ -1,5 +1,9 @@
<?php
+/*
+ * PHPPgAdmin v6.0.0-beta.30
+ */
+
namespace PHPPgAdmin\Controller;
/**
@@ -11,11 +15,12 @@ class IntroController extends BaseController
public function render()
{
- if ($this->container->requestobj->getAttribute('route') === null) {
+ if (null === $this->container->requestobj->getAttribute('route')) {
echo $this->doDefault();
} else {
$body = $this->container->responseobj->getBody();
$body->write($this->doDefault());
+
return $this->container->responseobj;
}
}