Skip to content

fix: PHP Warning: SimpleXMLElement::__construct()#3

Merged
michallohnisky merged 5 commits into
masterfrom
hotfix-php-warning-simplexmlelement-construct
Feb 21, 2017
Merged

fix: PHP Warning: SimpleXMLElement::__construct()#3
michallohnisky merged 5 commits into
masterfrom
hotfix-php-warning-simplexmlelement-construct

Conversation

@michal-loksik

Copy link
Copy Markdown
Contributor
  • pripojenie do Smartemailing API obalene do try-catch
  • doplnene komentare k funkciam
  • pridana funkcia isValidXmlString, ktora kontroluje ci je xml response od Smartemailingu validny
  • pridana funkcia getErrorXml, ktora vrati xml s chybou

Michal Lokšík added 2 commits February 21, 2017 10:57
pripojenie do Smartemailing API obalene do try-catch
- doplnene komentare k funkciam
- pridana funkcia isValidXmlString, ktora kontroluje ci je xml response od Smartemailingu validny
- pridana funkcia getErrorXml, ktora vrati xml s chybou
Comment thread src/SmartEmailing.php Outdated

/**
* SmartEmailing constructor.
* @param $username

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Když už děláme anotace, tak je dělejme i s datovými typy.

Michal Lokšík added 3 commits February 21, 2017 13:27
doplnene datove typy do anotacii
doplneny datovy typ do anotacie
upravena anotacia funckie createSimpleXml
@michallohnisky

Copy link
Copy Markdown
Contributor

CR ok

@michallohnisky michallohnisky merged commit b2ab53b into master Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants