Correct spelling mistakes. (#1546)

This commit is contained in:
Edward Betts 2018-08-14 20:46:53 +01:00 committed by Daniël Klabbers
parent cfc89b303d
commit f7c0c966bf
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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)) {