| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | View Code Duplication | public function testGetWebhookPagination() |
|
| 19 | { |
||
| 20 | $this->mockHttpSession($this->body_list_webhook_pagination); |
||
| 21 | $webhooks = $this->moip->webhooks()->get(new Pagination(100, 0)); |
||
| 22 | |||
| 23 | $this->assertNotEmpty($webhooks->getWebhooks()); |
||
| 24 | } |
||
| 25 | |||
| 34 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: