Skip to content

Commit 8f8c0ad

Browse files
author
Bart Faber
committed
Updating files for version v2.0.1
1 parent 511a237 commit 8f8c0ad

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to the wrapper will be documented in this file.
33

4+
## [2.0.1]
5+
### Updated
6+
- Returntype of getMessage method (issue #18)
7+
48
## [2.0.0]
59
### Updated
610
- Support for PHP upgraded to >= 7.2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xolphin/xolphin-api-php",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Xolphin API module for PHP",
55
"license": "MIT",
66
"keywords": [

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Xolphin API wrapper for PHP
2+
23
xolphin-php-api is a library which allows quick integration of the [Xolphin REST API](https://api.xolphin.com) in PHP to automated ordering, issuance and installation of SSL Certificates.
34

45
## About Xolphin

src/Responses/Base.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ public function getErrorMessage(): string
7070
}
7171

7272
/**
73-
* Information about current request
73+
* Error about current request
74+
* Not null when response code != 200
7475
* @return string
7576
*/
76-
public function getMessage(): string
77+
public function getMessage(): ?string
7778
{
7879
return $this->message;
7980
}

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TestCase extends BaseTestCase
1717
*/
1818
protected function setUp(): void
1919
{
20-
$this->_client = new Client('seleniumtest@xolphin.nl', '***REMOVED***', true);
20+
$this->_client = new Client('youremail@domain.com', 'YourPassword', true);
2121
}
2222

2323
}

0 commit comments

Comments
 (0)