diff --git a/composer.json b/composer.json index 7b97d79..495411a 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "interaapps/jsonplus", - "version": "1.0.3", + "version": "1.0.4", "type": "library", "authors": [ { diff --git a/src/main/de/interaapps/jsonplus/JSONPlus.php b/src/main/de/interaapps/jsonplus/JSONPlus.php index 8db0e04..7144ecf 100644 --- a/src/main/de/interaapps/jsonplus/JSONPlus.php +++ b/src/main/de/interaapps/jsonplus/JSONPlus.php @@ -28,6 +28,7 @@ public function __construct( "string" => $this->passThroughTypeMapper, "float" => $this->passThroughTypeMapper, "int" => $this->passThroughTypeMapper, + "integer" => $this->passThroughTypeMapper, "double" => $this->passThroughTypeMapper, "bool" => $this->passThroughTypeMapper, "array" => new ArrayTypeMapper($this), diff --git a/src/test/testbootstrap.php b/src/test/testbootstrap.php index 4f7d4c9..1ff5b15 100644 --- a/src/test/testbootstrap.php +++ b/src/test/testbootstrap.php @@ -82,5 +82,4 @@ class Test3 { foreach ($arr as $val) { echo $val->sheesh; -} - +} \ No newline at end of file diff --git a/uppm.json b/uppm.json index a519eee..2013a75 100644 --- a/uppm.json +++ b/uppm.json @@ -1,6 +1,6 @@ { "name": "interaapps/jsonplus", - "version": "1.0.3", + "version": "1.0.4", "phpVersion": ">8.0", "repositories": [], "run": {