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

Make classes final #80

Merged
merged 1 commit into from
Jan 7, 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/CancellationQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise;

class CancellationQueue
final class CancellationQueue
{
private $started = false;
private $queue = [];
Expand Down
2 changes: 1 addition & 1 deletion src/Deferred.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise;

class Deferred implements PromisorInterface
final class Deferred implements PromisorInterface
{
private $promise;
private $resolveCallback;
Expand Down
2 changes: 1 addition & 1 deletion src/FulfilledPromise.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise;

class FulfilledPromise implements PromiseInterface
final class FulfilledPromise implements PromiseInterface
{
private $value;

Expand Down
2 changes: 1 addition & 1 deletion src/LazyPromise.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise;

class LazyPromise implements PromiseInterface
final class LazyPromise implements PromiseInterface
{
private $factory;
private $promise;
Expand Down
2 changes: 1 addition & 1 deletion src/Promise.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise;

class Promise implements PromiseInterface
final class Promise implements PromiseInterface
{
private $canceller;
private $result;
Expand Down
2 changes: 1 addition & 1 deletion src/Queue/SynchronousQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise\Queue;

class SynchronousQueue implements QueueInterface
final class SynchronousQueue implements QueueInterface
{
private $queue = [];

Expand Down
2 changes: 1 addition & 1 deletion src/RejectedPromise.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace React\Promise;

class RejectedPromise implements PromiseInterface
final class RejectedPromise implements PromiseInterface
{
private $reason;

Expand Down