public static maxQueryDepthErrorMessage ( $max, $count ) |
public static function maxQueryDepthErrorMessage($max, $count)
{
return sprintf('Max query depth should be %d but got %d.', $max, $count);
}
/** * @param $max * @param $count * * @return string */ protected function getErrorMessage($max, $count) { return QueryDepth::maxQueryDepthErrorMessage($max, $count); }