Skip to content

Commit

Permalink
Merge pull request #2 from printu/1.0.48
Browse files Browse the repository at this point in the history
1.0.48
  • Loading branch information
krzaczek authored Aug 18, 2017
2 parents 91f5bab + f5dd1c8 commit bed826a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PHP bindings for the e-nadawca Poczta Polska (https://e-nadawca.poczta-polska.pl/).

[API Documentation](https://e-nadawca.poczta-polska.pl/download/specyfikacja-webapi-en-v.47-8.1.0-10.04.2017.zip)
[API Documentation](https://e-nadawca.poczta-polska.pl/download/specyfikacja-webapi-en-v.48-8.2.0-12.07.2017.zip)

## Installation

Expand All @@ -13,7 +13,7 @@ In your composer.json file:
```js
{
"require": {
"printu/elektroniczny-nadawca": "^1.0.47"
"printu/elektroniczny-nadawca": "^1.0.48"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions src/PocztaPolska/ElektronicznyNadawca.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,11 @@ public function __construct($wsdl = null, $options = array())
}

if (!$wsdl) {
$wsdl = realpath(__DIR__ . '/../../' . self::WSDL_FILE);
$wsdl = realpath(__DIR__.'/../../'.self::WSDL_FILE);
}

if (!file_exists($wsdl)) {
$wsdl = realpath(__DIR__ . '/../../' . $wsdl);
$wsdl = realpath(__DIR__.'/../../'.$wsdl);
}

parent::__construct($wsdl, $options);
Expand Down
4 changes: 2 additions & 2 deletions wsdl/en.wsdl
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<xsd:simpleType name="ulicaType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1" />
<xsd:maxLength value="74" />
<xsd:maxLength value="255" />
<xsd:whiteSpace value="collapse" />
</xsd:restriction>
</xsd:simpleType>
Expand All @@ -210,7 +210,7 @@
<xsd:simpleType name="miejscowoscType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1" />
<xsd:maxLength value="30" />
<xsd:maxLength value="63" />
<xsd:whiteSpace value="collapse" />
</xsd:restriction>
</xsd:simpleType>
Expand Down

0 comments on commit bed826a

Please sign in to comment.