1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-21 04:11:47 +02:00

Move phpdoc to native types

This commit is contained in:
Jordi Boggiano
2022-04-20 09:21:58 +02:00
parent 2695fa86cd
commit 7952a83e0c
117 changed files with 432 additions and 766 deletions

View File

@@ -13,6 +13,7 @@ namespace Monolog\Handler;
use Monolog\Level;
use Monolog\Test\TestCase;
use PHPUnit\Framework\MockObject\MockObject;
/**
* @author Mazur Alexandr <alexandrmazur96@gmail.com>
@@ -20,10 +21,7 @@ use Monolog\Test\TestCase;
*/
class TelegramBotHandlerTest extends TestCase
{
/**
* @var TelegramBotHandler
*/
private $handler;
private TelegramBotHandler&MockObject $handler;
public function testSendTelegramRequest(): void
{
@@ -31,8 +29,6 @@ class TelegramBotHandlerTest extends TestCase
$this->handler->handle($this->getRecord());
}
/**
*/
private function createHandler(
string $apiKey = 'testKey',
string $channel = 'testChannel',