From 3e3b2dca7bc017bf9473edf34616d12684ee08fc Mon Sep 17 00:00:00 2001 From: luceos Date: Tue, 24 Nov 2020 03:04:50 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Admin/Content/AdminPayload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin/Content/AdminPayload.php b/src/Admin/Content/AdminPayload.php index 82f77dee2e..21347271e0 100644 --- a/src/Admin/Content/AdminPayload.php +++ b/src/Admin/Content/AdminPayload.php @@ -75,7 +75,7 @@ public function __invoke(Document $document, Request $request) $document->payload['extensions'] = $this->extensions->getExtensions()->toArray(); $document->payload['displayNameDrivers'] = array_keys($this->container->make('flarum.user.display_name.supported_drivers')); - $document->payload['slugDrivers'] = array_map(function($resourceDrivers) { + $document->payload['slugDrivers'] = array_map(function ($resourceDrivers) { return array_keys($resourceDrivers); }, $this->container->make('flarum.http.slugDrivers'));