From ae0f126f31513731d677c7af2708b10c2a51573e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Wed, 10 Jan 2024 08:51:52 +0100 Subject: [PATCH 1/3] fix: Add return types --- libraries/class-recursive-arrayaccess.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/class-recursive-arrayaccess.php b/libraries/class-recursive-arrayaccess.php index 1c3029d2..1a8a2b6f 100644 --- a/libraries/class-recursive-arrayaccess.php +++ b/libraries/class-recursive-arrayaccess.php @@ -61,7 +61,7 @@ public function __clone() { * * @return array */ - public function toArray() { + public function toArray() : array { $data = $this->container; foreach ( $data as $key => $value ) { if ( $value instanceof self ) { @@ -83,7 +83,7 @@ public function toArray() { * * @return boolean true on success or false on failure. */ - public function offsetExists( $offset ) { + public function offsetExists( $offset ) : bool { return isset( $this->container[ $offset ] ); } @@ -96,7 +96,7 @@ public function offsetExists( $offset ) { * * @return mixed Can return all value types. */ - public function offsetGet( $offset ) { + public function offsetGet( $offset ) : mixed { return isset( $this->container[ $offset ] ) ? $this->container[ $offset ] : null; } @@ -110,7 +110,7 @@ public function offsetGet( $offset ) { * * @return void */ - public function offsetSet( $offset, $data ) { + public function offsetSet( $offset, $data ) : void { if ( is_array( $data ) ) { $data = new self( $data ); } @@ -131,7 +131,7 @@ public function offsetSet( $offset, $data ) { * * @return void */ - public function offsetUnset( $offset ) { + public function offsetUnset( $offset ) : void { unset( $this->container[ $offset ] ); } } \ No newline at end of file From 942caee0fc9b576d695c41057556601b5d156472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Wed, 10 Jan 2024 08:52:01 +0100 Subject: [PATCH 2/3] chore(release): 4.2.1 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b58fb29..096cccb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [4.2.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.0...v4.2.1) (2024-01-10) + + +### Bug Fixes + +* Add return types ([ae0f126](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/ae0f126f31513731d677c7af2708b10c2a51573e)) + ## [4.2.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.1.2...v4.2.0) (2023-12-21) diff --git a/package.json b/package.json index 994291ae..07d1d8d8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eduadmin-wordpress-plugin", "private": true, - "version": "4.2.0", + "version": "4.2.1", "repository": "https://github.com/MultinetInteractive/EduAdmin-WordPress.git", "author": "Chris Gårdenberg ", "license": "MIT", From d73485acf5ab4335715f8f563761f41cc3e0befd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=A5rdenberg?= Date: Wed, 10 Jan 2024 08:52:04 +0100 Subject: [PATCH 3/3] chore: versionbump --- PLUGIN-CHECKSUM | 2 +- eduadmin.php | 4 ++-- readme.md | 21 ++++++++------------- readme.txt | 21 ++++++++------------- 4 files changed, 19 insertions(+), 29 deletions(-) diff --git a/PLUGIN-CHECKSUM b/PLUGIN-CHECKSUM index ddd92948..9b19775c 100644 --- a/PLUGIN-CHECKSUM +++ b/PLUGIN-CHECKSUM @@ -1 +1 @@ -3de0d7f8f7f89943ea03086bef2fce18 +641355afee3fa37a65a22dc52dda7b98 diff --git a/eduadmin.php b/eduadmin.php index dc1e4e42..fd57b99a 100644 --- a/eduadmin.php +++ b/eduadmin.php @@ -9,7 +9,7 @@ * Plugin URI: https://www.eduadmin.se * Description: EduAdmin plugin to allow visitors to book courses at your website * Tags: booking, participants, courses, events, eduadmin, lega online - * Version: 4.2.0 + * Version: 4.2.1 * GitHub Plugin URI: multinetinteractive/eduadmin-wordpress * GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress * Requires at least: 5.8 @@ -23,7 +23,7 @@ */ /* EduAdmin Booking plugin - Copyright (C) 2015-2023 Chris Gårdenberg, MultiNet Interactive AB + Copyright (C) 2015-2024 Chris Gårdenberg, MultiNet Interactive AB This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/readme.md b/readme.md index 34a6f4d7..a8503d79 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # EduAdmin Booking - Requires at least: 5.8 - Tested up to: 6.4 -- Stable tag: 4.2.0 +- Stable tag: 4.2.1 - Requires PHP: 7.0 - License: GPL3 - License URI: https://www.gnu.org/licenses/gpl-3.0.en.html @@ -40,6 +40,13 @@ If you notice that your API key doesn't work any more, you have to contact us. The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md) +### [4.2.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.0...v4.2.1) (2024-01-10) + + +#### Bug Fixes + +* Add return types ([ae0f126](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/ae0f126f31513731d677c7af2708b10c2a51573e)) + ### [4.2.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.1.2...v4.2.0) (2023-12-21) @@ -61,17 +68,5 @@ The full changelog available on [GitHub](https://github.com/MultinetInteractive/ * Don't output the print_r of the entire programme.. ([e32d407](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/e32d4074a10a937fdd8c42f262669d669623a046)) -### [4.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.0.0...v4.1.0) (2023-11-06) - - -#### Features - -* Added shortcode [eduadmin-programmeinfo] with limited attributes ([b51a1b1](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/b51a1b102282dd7a23cd96aa9e459f4b116f3af0)), closes [#506](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/506) - - -#### Documentation - -* **Shortcodes:** Added info about the new shortcode ([4fe4b80](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/4fe4b8015c095841a75cfd5348ece89bfb90944a)), closes [#506](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/506) - diff --git a/readme.txt b/readme.txt index cc5e2cbf..15493aff 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: mnchga Tags: booking, participants, courses, events, eduadmin, lega online Requires at least: 5.8 Tested up to: 6.4 -Stable tag: 4.2.0 +Stable tag: 4.2.1 Requires PHP: 7.0 License: GPL3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html @@ -45,6 +45,13 @@ If you notice that your API key doesn't work any more, you have to contact us. The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md) +### [4.2.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.2.0...v4.2.1) (2024-01-10) + + +#### Bug Fixes + +* Add return types ([ae0f126](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/ae0f126f31513731d677c7af2708b10c2a51573e)) + ### [4.2.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.1.2...v4.2.0) (2023-12-21) @@ -66,17 +73,5 @@ The full changelog available on [GitHub](https://github.com/MultinetInteractive/ * Don't output the print_r of the entire programme.. ([e32d407](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/e32d4074a10a937fdd8c42f262669d669623a046)) -### [4.1.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v4.0.0...v4.1.0) (2023-11-06) - - -#### Features - -* Added shortcode [eduadmin-programmeinfo] with limited attributes ([b51a1b1](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/b51a1b102282dd7a23cd96aa9e459f4b116f3af0)), closes [#506](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/506) - - -#### Documentation - -* **Shortcodes:** Added info about the new shortcode ([4fe4b80](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/4fe4b8015c095841a75cfd5348ece89bfb90944a)), closes [#506](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/506) -