Skip to content

Commit a87f19d

Browse files
committed
DEV-3533
Signed-off-by: Christian Pleintinger <christian.pleintinger@intranetx.com>
1 parent 480f015 commit a87f19d

File tree

321 files changed

+682
-637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+682
-637
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Changelog
22

3+
## [0.8.4] - 2021-02-15
4+
5+
* Fixed error in property parameter of Model::createData() Method
6+
7+
## [0.8.3] - 2021-02-09
8+
9+
* Changing Version Number in composer.json
10+
11+
## [0.8.2] - 2021-09-21
12+
13+
* DEV-3508
14+
* Fixed Bug in Model::createData() Method
15+
16+
## [0.8.1] - 2020-12-11
17+
18+
* PUI-710
19+
20+
## [0.8.0] - 2020-08-25
21+
22+
* fixed a bug in models which caused wrong handling of certain objects
23+
* added bulk service for domains
24+
25+
## [0.7.4] - 2020-09-03
26+
27+
* bugfixes
28+
29+
## [0.7.3] - 2020-09-02
30+
31+
## [0.7.2] - 2020-09-02
32+
33+
* fix attributes
34+
35+
## [0.7.1] - 2020-09-02
36+
37+
* Fix models
38+
39+
## [0.7.0] - 2020-08-25
40+
41+
* added pc.domains Service from InterNetX GmbH for Domain price checks
42+
** for more information visit pc.domains
43+
* added more examples and fixed broken examples
44+
* rebuilt src/Model Structure to allow unlimited depth and stacking of models
45+
* reworked Model constructors
46+
* added Models for all pc.domains routes
47+
348
## [0.6.2] - 2020-07-29
449

550
* Added new PriceService class

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "internetx/php-domainrobot-sdk",
3-
"version": "0.8.3",
3+
"version": "0.8.4",
44
"description": "A php package for easy integration of the domainrobot API powered by InterNetX GmbH.",
55
"type": "library",
66
"license": "MIT",

src/Model/Account.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ public function __construct(array $data = null)
243243
* @param string $property
244244
* @return mixed
245245
*/
246-
public function createData($data = null, $property)
246+
public function createData($data = null, $property = '')
247247
{
248-
if ($data === null) {
248+
if ($data === null || $property === '') {
249249
return '';
250250
}
251251
$swaggerType = self::$swaggerTypes[$property];

src/Model/AccountEntry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ public function __construct(array $data = null)
219219
* @param string $property
220220
* @return mixed
221221
*/
222-
public function createData($data = null, $property)
222+
public function createData($data = null, $property = '')
223223
{
224-
if ($data === null) {
224+
if ($data === null || $property === '') {
225225
return '';
226226
}
227227
$swaggerType = self::$swaggerTypes[$property];

src/Model/AccountingDocument.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ public function __construct(array $data = null)
267267
* @param string $property
268268
* @return mixed
269269
*/
270-
public function createData($data = null, $property)
270+
public function createData($data = null, $property = '')
271271
{
272-
if ($data === null) {
272+
if ($data === null || $property === '') {
273273
return '';
274274
}
275275
$swaggerType = self::$swaggerTypes[$property];

src/Model/AddressClaim.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ public function __construct(array $data = null)
219219
* @param string $property
220220
* @return mixed
221221
*/
222-
public function createData($data = null, $property)
222+
public function createData($data = null, $property = '')
223223
{
224-
if ($data === null) {
224+
if ($data === null || $property === '') {
225225
return '';
226226
}
227227
$swaggerType = self::$swaggerTypes[$property];

src/Model/AlexaSiteInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ public function __construct(array $data = null)
231231
* @param string $property
232232
* @return mixed
233233
*/
234-
public function createData($data = null, $property)
234+
public function createData($data = null, $property = '')
235235
{
236-
if ($data === null) {
236+
if ($data === null || $property === '') {
237237
return '';
238238
}
239239
$swaggerType = self::$swaggerTypes[$property];

src/Model/AlexaSiteInfoHighestRankedIncountry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ public function __construct(array $data = null)
201201
* @param string $property
202202
* @return mixed
203203
*/
204-
public function createData($data = null, $property)
204+
public function createData($data = null, $property = '')
205205
{
206-
if ($data === null) {
206+
if ($data === null || $property === '') {
207207
return '';
208208
}
209209
$swaggerType = self::$swaggerTypes[$property];

src/Model/AlexaSiteInfoPageViewsPerDay.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ public function __construct(array $data = null)
195195
* @param string $property
196196
* @return mixed
197197
*/
198-
public function createData($data = null, $property)
198+
public function createData($data = null, $property = '')
199199
{
200-
if ($data === null) {
200+
if ($data === null || $property === '') {
201201
return '';
202202
}
203203
$swaggerType = self::$swaggerTypes[$property];

src/Model/AlexaSiteInfoSiteData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ public function __construct(array $data = null)
201201
* @param string $property
202202
* @return mixed
203203
*/
204-
public function createData($data = null, $property)
204+
public function createData($data = null, $property = '')
205205
{
206-
if ($data === null) {
206+
if ($data === null || $property === '') {
207207
return '';
208208
}
209209
$swaggerType = self::$swaggerTypes[$property];

0 commit comments

Comments
 (0)