Loading CHANGELOG.md +7 −1 Original line number Diff line number Diff line CHANGELOG ========= 6.2.4 (26/06/2024) ------------------ - [fix] le fromPost de la partie serveur Axios ne renvoie plus de stdClass, mais des array partout 6.2.3 (05/04/2024) ------------------ - Préservation des indexs e tableau avec L'Axios Extractor - Préservation des indexs de tableau avec L'Axios Extractor 6.2.2 (04/04/2024) ------------------ Loading src/Controller/Plugin/AxiosPlugin.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ class AxiosPlugin extends AbstractPlugin { public function fromPost(?string $param = null, $default = null) { $post = (array)json_decode(file_get_contents('php://input')); $post = json_decode(file_get_contents('php://input'), true); if ($param) { if (array_key_exists($param, $post)) { return $post[$param]; Loading Loading
CHANGELOG.md +7 −1 Original line number Diff line number Diff line CHANGELOG ========= 6.2.4 (26/06/2024) ------------------ - [fix] le fromPost de la partie serveur Axios ne renvoie plus de stdClass, mais des array partout 6.2.3 (05/04/2024) ------------------ - Préservation des indexs e tableau avec L'Axios Extractor - Préservation des indexs de tableau avec L'Axios Extractor 6.2.2 (04/04/2024) ------------------ Loading
src/Controller/Plugin/AxiosPlugin.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ class AxiosPlugin extends AbstractPlugin { public function fromPost(?string $param = null, $default = null) { $post = (array)json_decode(file_get_contents('php://input')); $post = json_decode(file_get_contents('php://input'), true); if ($param) { if (array_key_exists($param, $post)) { return $post[$param]; Loading