mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
don't use 0b constant values because bitwise comparisons aren't used
This commit is contained in:
parent
e8ac57db31
commit
35a601964e
@ -3,10 +3,10 @@
|
||||
namespace Amp;
|
||||
|
||||
class PromiseStream implements Streamable {
|
||||
const NOTIFY = 0b000;
|
||||
const WAIT = 0b001;
|
||||
const ERROR = 0b010;
|
||||
const DONE = 0b100;
|
||||
const NOTIFY = 0;
|
||||
const WAIT = 1;
|
||||
const ERROR = 2;
|
||||
const DONE = 3;
|
||||
|
||||
private $promisors;
|
||||
private $index = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user