File "NoKeyValue.php"

Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Exception/NoKeyValue.php
File size: 402 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace MailPoetVendor\Doctrine\DBAL\Exception;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Doctrine\DBAL\Exception;
use function sprintf;
final class NoKeyValue extends Exception
{
 public static function fromColumnCount(int $columnCount) : self
 {
 return new self(sprintf('Fetching as key-value pairs requires the result to contain at least 2 columns, %d given.', $columnCount));
 }
}