Skip to content

Commit 85bcb75

Browse files
committed
Reformat
1 parent 75963e9 commit 85bcb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/DefaultController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function actionIndex(string $pattern): Response
109109

110110
if (($cachedContent = $cacheService->get($cacheKey)) !== false) {
111111
if (StringHelper::startsWith($cachedContent, 'data:')) {
112-
list($contentType, $cachedContent) = explode(',', substr($cachedContent, 5), 2);
112+
[$contentType, $cachedContent] = explode(',', substr($cachedContent, 5), 2);
113113
}
114114
// Set the JSON headers
115115
$formatter = new JsonResponseFormatter([

0 commit comments

Comments
 (0)