Skip to content

Commit 0746386

Browse files
committed
Fix code style
1 parent b39fa5d commit 0746386

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tests/Server/NotificationPublisherTest.php

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@
22

33
declare(strict_types=1);
44

5+
/*
6+
* This file is part of the official PHP MCP SDK.
7+
*
8+
* A collaboration between Symfony and the PHP Foundation.
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
*/
13+
514
namespace Mcp\Tests\Server;
615

716
use Mcp\JsonRpc\MessageFactory;
817
use Mcp\Server\NotificationPublisher;
918
use PHPUnit\Framework\TestCase;
1019
use Symfony\Contracts\EventDispatcher\Event;
1120

21+
/**
22+
* @author Aggelos Bellos <[email protected]>
23+
*/
1224
class NotificationPublisherTest extends TestCase
1325
{
1426
public function testOnEventCreatesNotification(): void
@@ -25,12 +37,12 @@ public function testOnEventCreatesNotification(): void
2537

2638
$flushedNotifications = $notificationPublisher->flush();
2739

28-
$this->assertCount(count($expectedNotifications), $flushedNotifications);
40+
$this->assertCount(\count($expectedNotifications), $flushedNotifications);
2941

3042
foreach ($flushedNotifications as $index => $notification) {
3143
$this->assertInstanceOf($expectedNotifications[$index], $notification);
3244
}
3345

3446
$this->assertEmpty($notificationPublisher->flush());
3547
}
36-
}
48+
}

0 commit comments

Comments
 (0)