-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup; add toJson and fromJson to ApiContext [#39] #40
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fatal on tests php 7.1
When running tests the following fatal is thrown:
|
@OGKevin Oops, forgot about that declaration. Fixed. |
src/Context/ApiContext.php
Outdated
@@ -290,14 +308,23 @@ public function getSessionToken() | |||
/** | |||
* @param string $fileName | |||
* | |||
* @throws BunqException | |||
* @throws BunqException When could not save the context to the given location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't "When the context couldn't be saved to the given location" make more sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rubengommers Thanks, fixed!
src/Context/ApiContext.php
Outdated
* @return string[][] | ||
* @throws BunqException | ||
* @return string | ||
* @throws BunqException If could not find the file to get the string from. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really english
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the context couldn't be loaded from the given location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrederoos fixed! 👍
No description provided.