We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e80b6 commit 83328a8Copy full SHA for 83328a8
src/ValidatesAttributes.php
@@ -83,7 +83,7 @@ public static function disableValidationWhenSaving(): void
83
static::$validateWhenSaving = false;
84
}
85
86
- public static function reactivateValidationWhenSaving(): void
+ public static function enableValidationWhenSaving(): void
87
{
88
static::$validateWhenSaving = true;
89
@@ -110,7 +110,7 @@ public static function whileValidationDisabled(callable $callback): mixed
110
try {
111
return $callback();
112
} finally {
113
- static::reactivateValidationWhenSaving();
+ static::enableValidationWhenSaving();
114
115
116
0 commit comments