Skip to content

Commit 578ee5d

Browse files
committed
Mark all classes as final
1 parent 57dc09a commit 578ee5d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/ExtEventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @link https://pecl.php.net/package/event
2222
*/
23-
class ExtEventLoop implements LoopInterface
23+
final class ExtEventLoop implements LoopInterface
2424
{
2525
private $eventBase;
2626
private $futureTickQueue;

src/ExtLibevLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @see https://github.com/m4rw3r/php-libev
2525
* @see https://gist.github.com/1688204
2626
*/
27-
class ExtLibevLoop implements LoopInterface
27+
final class ExtLibevLoop implements LoopInterface
2828
{
2929
private $loop;
3030
private $futureTickQueue;

src/ExtLibeventLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*
3434
* @link https://pecl.php.net/package/libevent
3535
*/
36-
class ExtLibeventLoop implements LoopInterface
36+
final class ExtLibeventLoop implements LoopInterface
3737
{
3838
/** @internal */
3939
const MICROSECONDS_PER_SECOND = 1000000;

src/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* The `Factory` class exists as a convenient way to pick the best available event loop implementation.
77
*/
8-
class Factory
8+
final class Factory
99
{
1010
/**
1111
* Creates a new event loop instance

src/StreamSelectLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
*
5151
* @link http://php.net/manual/en/function.stream-select.php
5252
*/
53-
class StreamSelectLoop implements LoopInterface
53+
final class StreamSelectLoop implements LoopInterface
5454
{
5555
/** @internal */
5656
const MICROSECONDS_PER_SECOND = 1000000;

0 commit comments

Comments
 (0)