Skip to content

Commit 443aa84

Browse files
Fixed a bug referencing a protected property.
1 parent a406713 commit 443aa84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClientCustomPriceFixedIncome.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ protected function generateBodyForRequest() {
147147
* @throws \Exception
148148
*/
149149
protected function getPricesRequested() {
150-
if ( empty( $pricesRequested ) ):
150+
if ( empty( $this->pricesRequested ) ):
151151
throw new \Exception( "You have to add at least one price for this request." );
152152
endif;
153153

154-
return implode( ',', $pricesRequested );
154+
return implode( ',', $this->pricesRequested );
155155
}
156156

157157
/**

0 commit comments

Comments
 (0)