Skip to content

Commit e3dcd0a

Browse files
Fixed deprecated parameter ordering
1 parent 48f3f09 commit e3dcd0a

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

README.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,6 @@ PHP Client library for Bandwidth's Phone Number Dashboard (AKA: Dashboard, Iris)
22
=========================================================
33
[![Build Status](https://travis-ci.org/Bandwidth/php-bandwidth-iris.svg?branch=master)](https://travis-ci.org/Bandwidth/php-bandwidth-iris)
44

5-
## Release Notes
6-
7-
| Version | Notes |
8-
|:---|:---|
9-
| 2.0.0 | Fixed incompatibilities with Bandwidth's Dashboard API Create Site function that required breaking changes. Versions less than 2.0.0 are not guaranteed to work with Bandwidth's Dashboard API. |
10-
| 2.0.1 | Added `ActualFocDate` to Portins model |
11-
| 2.0.2 | Fixed HTTP method for `set_tn_options` to `PUT` |
12-
| 2.0.3 | Fixed HTTP request for `set_tn_options` to the correct XML object |
13-
| 2.0.4 | Added `localVanity` to `availableNumbers` |
14-
| 2.0.5 | Added `NewBillingTelephoneNumber` to `Portins` model |
15-
| 2.0.6 | Build `ReportsModel` functionality |
16-
| 2.0.7 | Fixed error handling for Errors fields |
17-
| 2.0.8 | Fixed rate center check |
18-
| 2.1.0 | Added `importTnOrders`, `removeImportedTnOrders`, `inserviceNumbers`, and `importTnChecker` endpoints |
19-
| 2.2.0 | Added `csrs` endpoints |
20-
| 2.3.0 | Added `loas` endpoints for ImportTnOrders |
21-
| 2.4.0 | Added Emergency Calling Notification, Emergeny Notification Group, Emergency Notification Endpoint, and Alternate End User Identity methods |
22-
| 2.5.0 | Added `PortOutPasscode` for TnOption orders |
23-
| 2.5.1 | Fixed grabbing of response header for file uploads |
24-
| 3.0.0 | Updated to guzzle 7. This version no longer supports verisons of PHP less than 7.2. Older versions of this package will still work on PHP versions less than 7.2 |
25-
| 3.1.0 | Added application management |
26-
| 3.2.0 | Update SipPeerTelephoneNumber to enable/disabe SMS |
27-
| 3.3.0 | Added PortOutStatus, ActualFocDate, and SPID to the portout model |
28-
| 3.3.1 | Updated the portins update method to clear the ActualFocDate field |
29-
| 3.3.2 | Updated the portins set_activation_status method use a PUT method |
30-
315
## Supported PHP Versions
326

337
| Version | Support Level |

src/UserModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ final class User extends RestEntry {
5252
"Roles" => ["type" => "\Iris\Roles"],
5353
];
5454

55-
public function __construct($client=null, $data)
55+
public function __construct($client=null, $data=[])
5656
{
5757
$this->set_data($data);
5858
parent::_init($client, "users");

0 commit comments

Comments
 (0)