You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DisallowedShortTernaryOperator suppress doesnt work
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @phpcsSuppress DisallowedShortTernaryOperator
*/
public function handle(Request $request, Closure $next, string ...$guards)
{
$guards = $guards ?: ['web'];
• [Code] Disallow short ternary operator: (SlevomatCodingStandard\Sniffs\ControlStructures\DisallowShortTernaryOperatorSniff)
app/Http/Middleware/RedirectIfAuthenticated.php:21: Use of short ternary operator is disallowed.
The text was updated successfully, but these errors were encountered:
DisallowedShortTernaryOperator suppress doesnt work
The text was updated successfully, but these errors were encountered: