Skip to content

Commit

Permalink
Merge pull request #99 from clue-labs/final
Browse files Browse the repository at this point in the history
Mark all classes as final
  • Loading branch information
clue authored May 3, 2017
2 parents 5f1ba8a + 49ecaa4 commit 4a6c128
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
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

0 comments on commit 4a6c128

Please sign in to comment.