diff options
author | ffflabs <amenadiel@gmail.com> | 2020-02-26 10:38:15 +0300 |
---|---|---|
committer | ffflabs <amenadiel@gmail.com> | 2020-02-26 11:30:00 +0300 |
commit | 2b72a6599564901461c9c537e641b58f9fe8cd62 (patch) | |
tree | 5c6a62375a7e0456938792564f64b3b54d0626cc /src/controllers/BrowserController.php | |
parent | 55f8d1b0a09c9f90eec93e1737f524ecd809ff61 (diff) |
adding psalm linting
fine tuning of git files
restoring tests
fixes tests after refactoring
fine tuning for psalm baseline
Diffstat (limited to 'src/controllers/BrowserController.php')
-rw-r--r-- | src/controllers/BrowserController.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/controllers/BrowserController.php b/src/controllers/BrowserController.php index a3a0d4bd..318372c1 100644 --- a/src/controllers/BrowserController.php +++ b/src/controllers/BrowserController.php @@ -1,7 +1,10 @@ <?php +// declare(strict_types=1); + /** - * PHPPgAdmin v6.0.0-RC9 + * PHPPgAdmin vv6.0.0-RC8-16-g13de173f + * */ namespace PHPPgAdmin\Controller; @@ -10,8 +13,6 @@ use PHPPgAdmin\Decorators\Decorator; /** * Base controller class. - * - * @package PHPPgAdmin */ class BrowserController extends BaseController { @@ -24,7 +25,7 @@ class BrowserController extends BaseController */ public function render($action = null) { - if ($action === null) { + if (null === $action) { $action = $this->action; } |