From e148b1c6252da81ed20d39f14a56ffa753094d87 Mon Sep 17 00:00:00 2001 From: bseddon Date: Tue, 11 Jun 2019 09:44:31 +0000 Subject: [PATCH] Replace 'xbrli:monetaryItem' with XBRL_Constants equivalent --- XBRL-ESMA-ESEF.php | 2 +- XBRL-IFRS.php | 2 +- XBRL-UK-AE.php | 2 +- XBRL-UK-FRC.php | 2 +- XBRL-UK-GAAP.php | 2 +- XBRL-US-GAAP-2015.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/XBRL-ESMA-ESEF.php b/XBRL-ESMA-ESEF.php index 97b2133..c9ca8e5 100644 --- a/XBRL-ESMA-ESEF.php +++ b/XBRL-ESMA-ESEF.php @@ -182,7 +182,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t switch ( $type ) { - case 'xbrli:monetaryItemType': + case XBRL_Constants::$xbrliMonetaryItemType: case 'xbrli:sharesItemType': $element['value'] = str_replace( ',', '', $element['value'] ); return parent::formattedValue( $element, $instance, $includeCurrency ); diff --git a/XBRL-IFRS.php b/XBRL-IFRS.php index 98de434..2ee4c03 100644 --- a/XBRL-IFRS.php +++ b/XBRL-IFRS.php @@ -290,7 +290,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t switch ( $type ) { - case 'xbrli:monetaryItemType': + case XBRL_Constants::$xbrliMonetaryItemType: case 'xbrli:sharesItemType': $element['value'] = str_replace( ',', '', $element['value'] ); return parent::formattedValue( $element, $instance, $includeCurrency ); diff --git a/XBRL-UK-AE.php b/XBRL-UK-AE.php index 3222100..9a29296 100644 --- a/XBRL-UK-AE.php +++ b/XBRL-UK-AE.php @@ -253,7 +253,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t case 'uk-gaap-ae:CompaniesHouseRegisteredNumberType': return $value; - case 'xbrli:monetaryItemType': + case XBRL_Constants::$xbrliMonetaryItemType: $element['value'] = str_replace( ',', '', $element['value'] ); return parent::formattedValue( $element, $instance ); diff --git a/XBRL-UK-FRC.php b/XBRL-UK-FRC.php index e827936..f6e0a11 100644 --- a/XBRL-UK-FRC.php +++ b/XBRL-UK-FRC.php @@ -271,7 +271,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t switch ( $type ) { - case 'xbrli:monetaryItemType': + case XBRL_Constants::$xbrliMonetaryItemType: case 'xbrli:sharesItemType': $element['value'] = str_replace( ',', '', $element['value'] ); return parent::formattedValue( $element, $instance, $includeCurrency ); diff --git a/XBRL-UK-GAAP.php b/XBRL-UK-GAAP.php index 08e3083..47c6e5a 100644 --- a/XBRL-UK-GAAP.php +++ b/XBRL-UK-GAAP.php @@ -520,7 +520,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t switch ( $type ) { - case 'xbrli:monetaryItemType': + case XBRL_Constants::$xbrliMonetaryItemType: case 'xbrli:sharesItemType': $element['value'] = str_replace( ',', '', $element['value'] ); return parent::formattedValue( $element, $instance, $includeCurrency ); diff --git a/XBRL-US-GAAP-2015.php b/XBRL-US-GAAP-2015.php index e8433d1..0929d75 100644 --- a/XBRL-US-GAAP-2015.php +++ b/XBRL-US-GAAP-2015.php @@ -927,7 +927,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t switch ( $type ) { - case 'xbrli:monetaryItemType': + case XBRL_Constants::$xbrliMonetaryItemType: $element['value'] = str_replace( ',', '', $element['value'] ); return parent::formattedValue( $element, $instance, $includeCurrency );