summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.php b/src/app.php
index b80083d..51a5e13 100644
--- a/src/app.php
+++ b/src/app.php
@@ -135,4 +135,4 @@ $poos = [
"Unfurling a poopdedoop",
];
-echo $poos[rand(0, count($poos))] . PHP_EOL;
+echo $poos[rand(0, count($poos) - 1)] . PHP_EOL;