summaryrefslogtreecommitdiff
path: root/src/app.php
diff options
context:
space:
mode:
authorPhil Burton <philbeansburton@gmail.com>2019-10-16 12:20:14 +0000
committerPhil Burton <philbeansburton@gmail.com>2019-10-16 12:20:14 +0000
commit6a7ed0829546a6d5b4b35ef7eb389f859eec1764 (patch)
treebaf3c40c31c4c7d0331d311adc6defcb7ad67660 /src/app.php
parent1420ab5e93744a6d6f2340d9dd811fb914bc507f (diff)
Amend max random key to be the max of the poop listHEADmaster
Diffstat (limited to 'src/app.php')
-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;