From 1cec7bbffc9a1c1cb09dda61a8ca0024a0250800 Mon Sep 17 00:00:00 2001 From: Otto Turunen <166520516+ottoturu@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:49:48 +0300 Subject: [PATCH] v1.4.1 * Change return type of get_value() to mixed #37 * v1.4.1 --- CHANGELOG.md | 5 +++++ plugin.php | 2 +- src/Attribute/Meta.php | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b946a6..0be6c3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Released] +## [1.4.1] - 2024-10-10 + +### Fixed +- Change return type of get_value() to mixed #37 + ## [1.4.0] - 2024-05-08 ### Changed diff --git a/plugin.php b/plugin.php index 1247a07..08e17e6 100644 --- a/plugin.php +++ b/plugin.php @@ -3,7 +3,7 @@ * Plugin Name: Oopi * Plugin URI: https://github.com/devgeniem/wp-oopi * Description: Oopi is an object-oriented developer friendly WordPress importer. - * Version: 1.4.0 + * Version: 1.4.1 * Author: Geniem * Author URI: http://www.github.com/devgeniem * License: GPL3 diff --git a/src/Attribute/Meta.php b/src/Attribute/Meta.php index f74e752..c44f1c1 100644 --- a/src/Attribute/Meta.php +++ b/src/Attribute/Meta.php @@ -69,9 +69,9 @@ public function get_key(): string { /** * Get the value. * - * @return string + * @return mixed */ - public function get_value(): string { + public function get_value() { return $this->value; }