We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4f6902 commit 91c87afCopy full SHA for 91c87af
1 file changed
src/ClientDailyPriceFixedIncome.php
@@ -113,16 +113,24 @@ protected function processResponse() {
113
* Extracted this into it's own function so I can stub and test without
114
* having to make a request to the IDC server.
115
* @return string
116
+ * @codeCoverageIgnore
117
*/
118
protected function getBodyFromResponse() {
119
return (string)$this->response->getBody();
120
}
121
122
+ /**
123
+ * @param $value
124
+ *
125
+ * @return float
126
+ */
127
protected function formatValueReturnedFromInteractiveData( $value ) {
128
if ( is_numeric( $value ) ) {
129
return (float)$value;
130
131
- return str_replace( '"', '', $value );
132
+ // @codeCoverageIgnoreStart
133
+ return (float)str_replace( '"', '', $value );
134
+ // @codeCoverageIgnoreEnd
135
136
0 commit comments