Skip to content

Commit 33c7068

Browse files
committed
One in a thousand chance to learn something new.
1 parent f352f6d commit 33c7068

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RandomCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,9 @@ public function handle()
2929
if (! rand(0, 1000000)) {
3030
shell_exec('open https://www.youtube.com/watch?v=dQw4w9WgXcQ');
3131
}
32+
33+
if (rand(0, 1000) === 42) {
34+
shell_exec('open https://en.wikipedia.org/wiki/Wikipedia:Random');
35+
}
3236
}
3337
}

0 commit comments

Comments
 (0)