summaryrefslogtreecommitdiffstats
path: root/includes/admin/helpfiles
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-05-08 21:03:29 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-05-08 21:03:29 +0200
commit7d17f220e52d683f849a1854278a9bd47af17dd2 (patch)
tree3fed3ff2c6ab28c397a929a02e56d238ca40ed6d /includes/admin/helpfiles
parentee9bef751805ac3f3c9572d1620f2221092b3094 (diff)
parent30f12e61317d9b181efb46382a4db98d73f65954 (diff)
downloadgigologadmin-7d17f220e52d683f849a1854278a9bd47af17dd2.tar.gz
gigologadmin-7d17f220e52d683f849a1854278a9bd47af17dd2.tar.bz2
gigologadmin-7d17f220e52d683f849a1854278a9bd47af17dd2.zip
Merge branch 'psalm' into dev
This brings another tool in to help us keep the code in order - Psalm. (I thought the name was fitting! :) This will do fairly simple static analysis of the code, and report problems and suggest fixes. It can help fix some issues itself, but please double check that it does the right thing. More info: https://psalm.dev This merge also brings in fixes that was suggested by Paslm. Mostly this is typa annotations for functions, but also some bugfixes discovered by the tool.
Diffstat (limited to 'includes/admin/helpfiles')
-rw-r--r--includes/admin/helpfiles/instr_photog.php2
-rw-r--r--includes/admin/helpfiles/instr_reviewers.php2
-rw-r--r--includes/admin/helpfiles/instrunctions.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/admin/helpfiles/instr_photog.php b/includes/admin/helpfiles/instr_photog.php
index 0750557..f661c5f 100644
--- a/includes/admin/helpfiles/instr_photog.php
+++ b/includes/admin/helpfiles/instr_photog.php
@@ -13,7 +13,7 @@ if ( !class_exists( 'Instructions_Photogs' ) ) {
- static function render_instr_photo_html() {
+ static function render_instr_photo_html(): void {
diff --git a/includes/admin/helpfiles/instr_reviewers.php b/includes/admin/helpfiles/instr_reviewers.php
index e00a432..3632980 100644
--- a/includes/admin/helpfiles/instr_reviewers.php
+++ b/includes/admin/helpfiles/instr_reviewers.php
@@ -9,7 +9,7 @@ if ( !class_exists( 'Instructions_Reviewers' ) ) {
class Instructions_Reviewers {
- static function render_instr_rev_html() {
+ static function render_instr_rev_html(): void {
?>
diff --git a/includes/admin/helpfiles/instrunctions.php b/includes/admin/helpfiles/instrunctions.php
index 49b77fe..b9c4d89 100644
--- a/includes/admin/helpfiles/instrunctions.php
+++ b/includes/admin/helpfiles/instrunctions.php
@@ -9,7 +9,7 @@ if ( !class_exists( 'Instructions_Page' ) ) {
class Instructions_Page {
- static function render_instr_html() {
+ static function render_instr_html(): void {
?>