From f7c0c966bf12224672d517d6dcfa0a457c4c75de Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 14 Aug 2018 20:46:53 +0100 Subject: [PATCH] Correct spelling mistakes. (#1546) --- framework/core/js/src/common/Store.js | 2 +- framework/core/src/User/Gate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/js/src/common/Store.js b/framework/core/js/src/common/Store.js index 43b86541e..221478a60 100644 --- a/framework/core/js/src/common/Store.js +++ b/framework/core/js/src/common/Store.js @@ -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] diff --git a/framework/core/src/User/Gate.php b/framework/core/src/User/Gate.php index 7d9ac895c..de6bc9709 100644 --- a/framework/core/src/User/Gate.php +++ b/framework/core/src/User/Gate.php @@ -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)) {