Skip to content

Commit 7418d4f

Browse files
committed
Removing double function
1 parent b06bd76 commit 7418d4f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

figo/Session.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,18 @@ public function get_transactions($account_id = null, $since = null, $count = 100
192192
return $result;
193193
}
194194

195+
/**
196+
* Retrieve a specific transaction
197+
*
198+
* @param string ID of the account on which the transaction occured
199+
* @param string ID of the transaction to be retrieved
200+
* @return Transaction a `Transaction` object representing the transaction to be retrieved
201+
*/
202+
public function get_transaction($account_id, $transaction_id) {
203+
$response = $this->query_api("/rest/accounts/".$account_id."/transactions/".$transaction_id);
204+
return (is_null($response) ? null : new Transaction($this, $response));
205+
}
206+
195207
/**
196208
* Retrieve a specific bank
197209
*
@@ -227,18 +239,6 @@ public function remove_bank_pin($bank_or_id) {
227239
}
228240
}
229241

230-
/**
231-
* Request a single transaction
232-
*
233-
* @param string account ID
234-
* @param string transaction ID
235-
* @return Transaction transaction object
236-
*/
237-
public function get_transaction($account_id, $transation_id) {
238-
$response = $this->query_api("/rest/accounts/".$account_id."/transactions/".$transation_id);
239-
return (is_null($response) ? null : new Transaction($this, $response));
240-
}
241-
242242
/**
243243
* Request the URL a user should open in the web browser to start the synchronization process
244244
*

0 commit comments

Comments
 (0)