mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-24 16:10:38 -06:00
17 lines
309 B
PHP
17 lines
309 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ShlinkioTest\Shlink\Core\Util;
|
|
|
|
use Shlinkio\Shlink\Rest\Entity\ApiKey;
|
|
|
|
class ApiKeyDataProviders
|
|
{
|
|
public static function adminApiKeysProvider(): iterable
|
|
{
|
|
yield 'no API key' => [null];
|
|
yield 'admin API key' => [ApiKey::create()];
|
|
}
|
|
}
|