Fix constant usage in example
This commit is contained in:
parent
9ab0b10a0f
commit
0f20c99a7f
@ -94,7 +94,7 @@ class MyStreamController extends Controller
|
||||
|
||||
$i++;
|
||||
// Flushing the buffer every N rows to stream echo'ed content.
|
||||
if ($i % FLUSH_THRESHOLD === 0) {
|
||||
if ($i % self::FLUSH_THRESHOLD === 0) {
|
||||
flush();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user