Fix constant usage in example

This commit is contained in:
Andrii Dembitskyi authored and Antoine Lamirault committed 2021-02-22 20:47:32 +01:00
1 parent 0a57406878
commit b7f68eda88
1 file changed
+1 -1
@@ -94,7 +94,7 @@ class MyStreamController extends Controller
$i++; $i++;
// Flushing the buffer every N rows to stream echo'ed content. // Flushing the buffer every N rows to stream echo'ed content.
if ($i % FLUSH_THRESHOLD === 0) { if ($i % self::FLUSH_THRESHOLD === 0) {
flush(); flush();
} }
} }