Skip to content

Commit

Permalink
Merge pull request #394 from KumbiaPHP/joanhey-patch-2
Browse files Browse the repository at this point in the history
Update kumbia_rest.php
  • Loading branch information
joanhey committed Mar 30, 2024
2 parents dc3e43a + e9cfb69 commit 6dbce9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/kumbia/kumbia_rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ abstract class KumbiaRest extends Controller
* callback que devuelva los datos interpretado.
*/
protected $_inputType = [
'application/json' => ['self', 'parseJSON'],
'application/xml' => ['self', 'parseXML'],
'text/xml' => ['self', 'parseXML'],
'text/csv' => ['self', 'parseCSV'],
'application/x-www-form-urlencoded' => ['self', 'parseForm']
'application/json' => [self::class, 'parseJSON'],
'application/xml' => [self::class, 'parseXML'],
'text/xml' => [self::class, 'parseXML'],
'text/csv' => [self::class, 'parseCSV'],
'application/x-www-form-urlencoded' => [self::class, 'parseForm']
];

/**
Expand Down

0 comments on commit 6dbce9e

Please sign in to comment.