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.
Model::unguarded()
1 parent c7a87ae commit 37af04bCopy full SHA for 37af04b
src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php
@@ -140,8 +140,10 @@ public static function isUnguarded()
140
/**
141
* Run the given callable while being unguarded.
142
*
143
- * @param callable $callback
144
- * @return mixed
+ * @template TReturn
+ *
145
+ * @param callable(): TReturn $callback
146
+ * @return TReturn
147
*/
148
public static function unguarded(callable $callback)
149
{
0 commit comments