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