summaryrefslogtreecommitdiffstats
path: root/generate-sample-gig-data.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-05-08 19:18:38 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-05-08 19:18:38 +0200
commit4977a733b6f614de868fc405b820d5c66e5bf9b7 (patch)
treefb033d693061bc22d069aa591e9dadf94c2a54b2 /generate-sample-gig-data.php
parent22397366614e9d80eed49d28994c5801e8821d27 (diff)
downloadgigologadmin-4977a733b6f614de868fc405b820d5c66e5bf9b7.tar.gz
gigologadmin-4977a733b6f614de868fc405b820d5c66e5bf9b7.tar.bz2
gigologadmin-4977a733b6f614de868fc405b820d5c66e5bf9b7.zip
Auto fixup missing return types by Psalm
Diffstat (limited to 'generate-sample-gig-data.php')
-rw-r--r--generate-sample-gig-data.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/generate-sample-gig-data.php b/generate-sample-gig-data.php
index 26ba0cf..bbc3e7d 100644
--- a/generate-sample-gig-data.php
+++ b/generate-sample-gig-data.php
@@ -51,6 +51,9 @@ class BandNameGenerator extends GeneratorBase
"ed",
);
+ /**
+ * @return string
+ */
public function get()
{
$parts = array(
@@ -91,6 +94,9 @@ class VenueGenerator extends GeneratorBase
"lighthouse"
);
+ /**
+ * @return string
+ */
public function get()
{
$parts = array(
@@ -104,6 +110,9 @@ class VenueGenerator extends GeneratorBase
class LinkGenerator extends GeneratorBase
{
+ /**
+ * @return string
+ */
public function get()
{
return 'https://example.com/' . bin2hex(random_bytes(8));