Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark all classes as final #99

Merged
merged 1 commit into from
May 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CompositeStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Evenement\EventEmitter;

class CompositeStream extends EventEmitter implements DuplexStreamInterface
final class CompositeStream extends EventEmitter implements DuplexStreamInterface
{
protected $readable;
protected $writable;
Expand Down
2 changes: 1 addition & 1 deletion src/DuplexResourceStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use React\EventLoop\LoopInterface;
use InvalidArgumentException;

class DuplexResourceStream extends EventEmitter implements DuplexStreamInterface
final class DuplexResourceStream extends EventEmitter implements DuplexStreamInterface
{
private $stream;
private $loop;
Expand Down
2 changes: 1 addition & 1 deletion src/ReadableResourceStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use React\EventLoop\LoopInterface;
use InvalidArgumentException;

class ReadableResourceStream extends EventEmitter implements ReadableStreamInterface
final class ReadableResourceStream extends EventEmitter implements ReadableStreamInterface
{
/**
* @var resource
Expand Down
2 changes: 1 addition & 1 deletion src/ThroughStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
* @see DuplexStreamInterface::close()
* @see WritableStreamInterface::pipe()
*/
class ThroughStream extends EventEmitter implements DuplexStreamInterface
final class ThroughStream extends EventEmitter implements DuplexStreamInterface
{
private $readable = true;
private $writable = true;
Expand Down
2 changes: 1 addition & 1 deletion src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Stream;

class Util
final class Util
{
/**
* Pipes all the data from the given $source into the $dest
Expand Down
2 changes: 1 addition & 1 deletion src/WritableResourceStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Evenement\EventEmitter;
use React\EventLoop\LoopInterface;

class WritableResourceStream extends EventEmitter implements WritableStreamInterface
final class WritableResourceStream extends EventEmitter implements WritableStreamInterface
{
private $stream;
private $loop;
Expand Down