@@ -226,10 +226,10 @@ class Encore {
226
226
* If the JavaScript file imports/requires CSS/Sass/LESS files,
227
227
* then a CSS file (e.g. main.css) will also be output.
228
228
*
229
- * @param {string } name The name (without extension) that will be used
230
- * as the output filename (e.g. app will become app.js)
231
- * in the output directory.
232
- * @param {string|Array } src The path to the source file (or files)
229
+ * @param {string } name The name (without extension) that will be used
230
+ * as the output filename (e.g. app will become app.js)
231
+ * in the output directory.
232
+ * @param {string|string[] } src The path to the source file (or files)
233
233
* @returns {Encore }
234
234
*/
235
235
addEntry ( name , src ) {
@@ -252,7 +252,7 @@ class Encore {
252
252
* If the JavaScript files imports/requires CSS/Sass/LESS files,
253
253
* then a CSS file (e.g. main.css) will also be output.
254
254
*
255
- * @param {Record<string, string|Array > } entries where the Keys are the
255
+ * @param {Record<string, string|string[] > } entries where the Keys are the
256
256
* names (without extension) that will be used
257
257
* as the output filename (e.g. app will become app.js)
258
258
* in the output directory. The values are the path(s)
@@ -278,10 +278,10 @@ class Encore {
278
278
* is to use addEntry() and then require/import your CSS files from
279
279
* within your JavaScript files.
280
280
*
281
- * @param {string } name The name (without extension) that will be used
282
- * as the output filename (e.g. app will become app.css)
283
- * in the output directory.
284
- * @param {string|Array } src The path to the source file (or files)
281
+ * @param {string } name The name (without extension) that will be used
282
+ * as the output filename (e.g. app will become app.css)
283
+ * in the output directory.
284
+ * @param {string|string[] } src The path to the source file (or files)
285
285
* @returns {Encore }
286
286
*/
287
287
addStyleEntry ( name , src ) {
@@ -1539,7 +1539,7 @@ class Encore {
1539
1539
* ```
1540
1540
*
1541
1541
* @param {boolean } enabled
1542
- * @param {string|Array } algorithms
1542
+ * @param {string|string[] } algorithms
1543
1543
* @returns {Encore }
1544
1544
*/
1545
1545
enableIntegrityHashes ( enabled = true , algorithms = [ 'sha384' ] ) {
0 commit comments