mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 11:03:37 +08:00
Correct spelling mistakes. (#1546)
This commit is contained in:
parent
df0f4e8462
commit
641079b3fe
|
@ -75,7 +75,7 @@ export default class Store {
|
|||
* Make a request to the API to find record(s) of a specific type.
|
||||
*
|
||||
* @param {String} type The resource type.
|
||||
* @param {Integer|Integer[]|Object} [id] The ID(s) of the model(s) to retreive.
|
||||
* @param {Integer|Integer[]|Object} [id] The ID(s) of the model(s) to retrieve.
|
||||
* Alternatively, if an object is passed, it will be handled as the
|
||||
* `query` parameter.
|
||||
* @param {Object} [query]
|
||||
|
|
|
@ -277,7 +277,7 @@ class Gate implements GateContract
|
|||
|
||||
$result = call_user_func_array([$instance, 'before'], $beforeArguments);
|
||||
|
||||
// If we recieved a non-null result from the before method, we will return it
|
||||
// If we received a non-null result from the before method, we will return it
|
||||
// as the result of a check. This allows developers to override the checks
|
||||
// in the policy and return a result for all rules defined in the class.
|
||||
if (! is_null($result)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user