@@ -73,10 +73,6 @@ public function make(
7373
7474 'date ' => $ this ->date ($ defaultFilename , $ extension , $ useOptions ),
7575
76- 'prefix ' => $ this ->prefix ($ defaultFilename , $ extension , $ useOptions ),
77-
78- 'suffix ' => $ this ->suffix ($ defaultFilename , $ extension , $ useOptions ),
79-
8076 'numbered ' => $ this ->numbered ($ defaultFilename , $ extension , $ useOptions ),
8177
8278 'slug ' => $ this ->slug ($ defaultFilename , $ extension ),
@@ -87,18 +83,6 @@ public function make(
8783 };
8884 }
8985
90- /**
91- * Merge options with the default options.
92- *
93- * @param array $options The options to merge.
94- * @param array $defaultOptions The default options.
95- * @return array The merged options.
96- */
97- private function mergeOptions (array $ options , string $ strategy , array $ defaultOptions ): array
98- {
99- return array_merge ($ defaultOptions [$ strategy ], $ options );
100- }
101-
10286 /**
10387 * Generate a random string of characters.
10488 *
@@ -204,6 +188,18 @@ public function hash(string $defaultFilename, string $extension, ?array $options
204188 return $ this ->applyAffixes ($ filename , $ options );
205189 }
206190
191+ /**
192+ * Merge options with the default options.
193+ *
194+ * @param array $options The options to merge.
195+ * @param array $defaultOptions The default options.
196+ * @return array The merged options.
197+ */
198+ private function mergeOptions (array $ options , string $ strategy , array $ defaultOptions ): array
199+ {
200+ return array_merge ($ defaultOptions [$ strategy ], $ options );
201+ }
202+
207203 /**
208204 * Apply prefix and suffix to filename
209205 *
0 commit comments