summaryrefslogtreecommitdiff
path: root/app/Place.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Place.php')
-rw-r--r--app/Place.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Place.php b/app/Place.php
index a1487f02c9..861f33c7a5 100644
--- a/app/Place.php
+++ b/app/Place.php
@@ -74,7 +74,7 @@ class Place
*/
public function id(): int
{
- return app()->make('cache.array')->rememberForever(__CLASS__ . __METHOD__ . $this->place_name, function () {
+ return app('cache.array')->rememberForever(__CLASS__ . __METHOD__ . $this->place_name, function () {
// The "top-level" place won't exist in the database.
if ($this->parts->isEmpty()) {
return 0;