From 26d191feaa27d426f94a98a30766ea9c57e1211e Mon Sep 17 00:00:00 2001 From: bnomei Date: Sun, 1 Dec 2024 15:25:45 +0000 Subject: [PATCH] Fix styling --- classes/Storybook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Storybook.php b/classes/Storybook.php index 5aede3b..a047c06 100644 --- a/classes/Storybook.php +++ b/classes/Storybook.php @@ -230,7 +230,7 @@ public function generateStorybookFiles(string $root, string $key, string $filepa // stories.js, but do not overwrite existing // allow various JS formats $exists = false; - foreach(['js', 'jsx', 'mjs', 'ts', 'tsx'] as $ext) { + foreach (['js', 'jsx', 'mjs', 'ts', 'tsx'] as $ext) { $js = "$outputFolder/$root/$base/$local.stories.$ext"; if (F::exists($js)) { $exists = true;