Skip to content

Commit 53e9e1c

Browse files
author
u.aleroev
committed
fix: use static::$gateCallback
1 parent 42eb31a commit 53e9e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SwaggerUI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function routes(?callable $callback = null, array $options = []):
2727

2828
public static function gate(): Closure
2929
{
30-
return $gateCallback ?? function (Request $request) {
30+
return static::$gateCallback ?? function (Request $request) {
3131
return true;
3232
};
3333
}

0 commit comments

Comments
 (0)