Fix constant usage in example

This commit is contained in:
Andrii Dembitskyi 2020-10-02 21:28:30 +03:00 committed by GitHub
parent ab973cab34
commit 0499435643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}