| 1 | <?php |
||
| 21 | class WuBookTransactions extends WuBookApi |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $token; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Create a new WuBookRooms Instance. |
||
| 31 | */ |
||
| 32 | public function __construct($config, $cache, $client, $token = null) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * http://tdocs.wubook.net/wired/transactions.html#balance_transactions |
||
| 41 | * |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function balance_transactions() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * http://tdocs.wubook.net/wired/transactions.html#balance_details |
||
| 51 | * |
||
| 52 | * @param int $id |
||
| 53 | * @return mixed |
||
| 54 | */ |
||
| 55 | public function balance_details($id) |
||
| 59 | } |
||
| 60 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.