mirror of
https://github.com/flarum/core.git
synced 2025-08-17 05:44:13 +02:00
Correct spelling mistakes. (#1546)
This commit is contained in:
committed by
Daniël Klabbers
parent
df0f4e8462
commit
641079b3fe
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user