Skip to content

Commit f529681

Browse files
committed
make some classes final
1 parent 9c63ce2 commit f529681

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/Capability/Discovery/CachedDiscoverer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@
2222
*
2323
* @internal
2424
*
25-
* @final
26-
*
2725
* @author Xentixar <xentixar@gmail.com>
2826
*/
29-
class CachedDiscoverer implements DiscovererInterface
27+
final class CachedDiscoverer implements DiscovererInterface
3028
{
3129
private const CACHE_PREFIX = 'mcp_discovery_';
3230

src/Capability/Discovery/Discoverer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@
4444
*
4545
* @internal
4646
*
47-
* @final
48-
*
4947
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
5048
*/
51-
class Discoverer implements DiscovererInterface
49+
final class Discoverer implements DiscovererInterface
5250
{
5351
public function __construct(
5452
private readonly LoggerInterface $logger = new NullLogger(),

src/Capability/Discovery/SchemaGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
*
5757
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
5858
*/
59-
class SchemaGenerator implements SchemaGeneratorInterface
59+
final class SchemaGenerator implements SchemaGeneratorInterface
6060
{
6161
public function __construct(
6262
private readonly DocBlockParser $docBlockParser,

0 commit comments

Comments
 (0)