Skip to content

Commit 91a213e

Browse files
committed
make internal classes final and mark other classes that will be final in 2.0
1 parent 4d1ca68 commit 91a213e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Collector/Collector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @final
2323
*/
24-
class Collector extends DataCollector
24+
final class Collector extends DataCollector
2525
{
2626
private ?Stack $activeStack = null;
2727

src/Collector/Formatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @final
2424
*/
25-
class Formatter implements MessageFormatter
25+
final class Formatter implements MessageFormatter
2626
{
2727
public function __construct(
2828
private readonly MessageFormatter $formatter,

src/Collector/ProfileClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* @final
2626
*/
27-
class ProfileClient implements ClientInterface, HttpAsyncClient
27+
final class ProfileClient implements ClientInterace, HttpAsyncClient
2828
{
2929
use VersionBridgeClient;
3030

src/Collector/ProfileClientFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @final
2121
*/
22-
class ProfileClientFactory implements ClientFactory
22+
final class ProfileClientFactory implements ClientFactory
2323
{
2424
/**
2525
* @var ClientFactory|callable

src/Collector/ProfilePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @final
2020
*/
21-
class ProfilePlugin implements Plugin
21+
final class ProfilePlugin implements Plugin
2222
{
2323
use Plugin\VersionBridgePlugin;
2424

src/Collector/StackPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @final
2020
*/
21-
class StackPlugin implements Plugin
21+
final class StackPlugin implements Plugin
2222
{
2323
use Plugin\VersionBridgePlugin;
2424

0 commit comments

Comments
 (0)