Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
handcode committed Jun 29, 2022
1 parent 9c86981 commit 52466d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions traits/RequestParamActionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/**
* This trait will enable auto fetching request params to append matching JSON for request param's json editor
*
* USUAGE / HOW IT WORKS:
* USAGE / HOW IT WORKS:
*
* To enable for a specific controller, use this trait in the desired controller
*
* By default it will generate a text field per action parameter.
* By default, it will generate a text field per action parameter.
*
* For customization you can create a public method for each individual action parameter by adding a method which name
* For customization, you can create a public method for each individual action parameter by adding a method which name
* have to follow this schema:
*
* `camelizedActionId` + ActionParam + `ParameterName`
Expand All @@ -37,7 +37,7 @@
*
* Example: detailActionParamProductId
*
* This method must return a array (key-value pairs), where the keys should refer to the actual value and the value will
* This method must return an array (key-value pairs), where the keys should refer to the actual value and the value will
* be the label
*
* Example:
Expand All @@ -63,7 +63,7 @@
* return true;
* }
*
* This will generate a input with defined title for an *existing* parameter
* This will generate an input with defined title for an *existing* parameter
*
* - If property is NOT optional, it will be set as required in json schema.
* However, since this only implies that the property must be set in the data, but not that a value must also be set,
Expand Down

0 comments on commit 52466d2

Please sign in to comment.