mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 00:03:37 +08:00
Correct spelling mistakes. (#1546)
This commit is contained in:
parent
cfc89b303d
commit
f7c0c966bf
|
@ -75,7 +75,7 @@ export default class Store {
|
||||||
* Make a request to the API to find record(s) of a specific type.
|
* Make a request to the API to find record(s) of a specific type.
|
||||||
*
|
*
|
||||||
* @param {String} type The resource 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
|
* Alternatively, if an object is passed, it will be handled as the
|
||||||
* `query` parameter.
|
* `query` parameter.
|
||||||
* @param {Object} [query]
|
* @param {Object} [query]
|
||||||
|
|
|
@ -277,7 +277,7 @@ class Gate implements GateContract
|
||||||
|
|
||||||
$result = call_user_func_array([$instance, 'before'], $beforeArguments);
|
$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
|
// 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.
|
// in the policy and return a result for all rules defined in the class.
|
||||||
if (! is_null($result)) {
|
if (! is_null($result)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user