Skip to content

Commit 961eea6

Browse files
authored
Merge pull request #6 from jeremynikolic/master
One in a thousand chance to learn something new, when ? 42 !
2 parents f352f6d + b3dd6da commit 961eea6

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/Special:Random');
35+
}
3236
}
3337
}

0 commit comments

Comments
 (0)