diff --git a/blueprints/helper/files/__root__/__collection__/__name__.js b/blueprints/helper/files/__root__/__collection__/__name__.js index c127f0fc431..4a8d40d6799 100644 --- a/blueprints/helper/files/__root__/__collection__/__name__.js +++ b/blueprints/helper/files/__root__/__collection__/__name__.js @@ -1,5 +1,5 @@ import { helper } from '@ember/component/helper'; -export default helper(function <%= camelizedModuleName %>(params/*, hash*/) { - return params; +export default helper(function <%= camelizedModuleName %>(positional/*, named*/) { + return positional; }); diff --git a/blueprints/helper/mu-files/__root__/__collection__/__name__.js b/blueprints/helper/mu-files/__root__/__collection__/__name__.js index 28a6eb4764f..dcfd120c8f6 100644 --- a/blueprints/helper/mu-files/__root__/__collection__/__name__.js +++ b/blueprints/helper/mu-files/__root__/__collection__/__name__.js @@ -1,7 +1,7 @@ import { helper as buildHelper } from '@ember/component/helper'; -export function <%= camelizedModuleName %>(params/*, hash*/) { - return params; +export function <%= camelizedModuleName %>(positional/*, named*/) { + return positional; } export const helper = buildHelper(<%= camelizedModuleName %>); diff --git a/node-tests/fixtures/helper/helper.js b/node-tests/fixtures/helper/helper.js index 9d72f6faf61..a28d3cabcd6 100644 --- a/node-tests/fixtures/helper/helper.js +++ b/node-tests/fixtures/helper/helper.js @@ -1,5 +1,5 @@ import { helper } from '@ember/component/helper'; -export default helper(function fooBarBaz(params/*, hash*/) { - return params; +export default helper(function fooBarBaz(positional/*, named*/) { + return positional; }); diff --git a/node-tests/fixtures/helper/mu-helper.js b/node-tests/fixtures/helper/mu-helper.js index 316750779c1..e4fe6b2b4c5 100644 --- a/node-tests/fixtures/helper/mu-helper.js +++ b/node-tests/fixtures/helper/mu-helper.js @@ -1,7 +1,7 @@ import { helper as buildHelper } from '@ember/component/helper'; -export function fooBarBaz(params/*, hash*/) { - return params; +export function fooBarBaz(positional/*, named*/) { + return positional; } export const helper = buildHelper(fooBarBaz);