summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2019-01-27 08:48:48 +0000
committerGitHub <noreply@github.com>2019-01-27 08:48:48 +0000
commitac91928985180ab727422f1840a037fcaed35fcf (patch)
tree1efd75e7b8abb548acbd687c66c650368d0181bd /index.php
parent8121b9bec19818120092699199161a1357bb8f3f (diff)
downloadwebtrees-ac91928985180ab727422f1840a037fcaed35fcf.tar.gz
webtrees-ac91928985180ab727422f1840a037fcaed35fcf.tar.bz2
webtrees-ac91928985180ab727422f1840a037fcaed35fcf.zip
Apply fixes from StyleCI (#2142)
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 6174da61bc..fa6e7af0e8 100644
--- a/index.php
+++ b/index.php
@@ -73,7 +73,9 @@ $request = Request::createFromGlobals();
app()->instance(Request::class, $request);
// Dummy value, until we have created our first tree.
-app()->bind(Tree::class, function () { return null; });
+app()->bind(Tree::class, function () {
+ return null;
+});
// Calculate the base URL, so we can generate absolute URLs.
$request_uri = $request->getSchemeAndHttpHost() . $request->getRequestUri();