diff --git a/docs/params.md b/docs/params.md index 9375d2e..642b3f6 100644 --- a/docs/params.md +++ b/docs/params.md @@ -23,6 +23,8 @@ example, `find()` methods expects `country` and `spedition` arguments, so create instance first using `create()` static method and set the params: ```php +use OlzaLogistic\PpApi\Client\Params; + $params = Params::create() ->withCountry($country) ->withSpedition($spedition); diff --git a/docs/response.md b/docs/response.md index da652ce..c7dc31b 100644 --- a/docs/response.md +++ b/docs/response.md @@ -79,8 +79,13 @@ all methods return the payload in the same manner via an instance of the `Data` the `Result` object: ```php +use OlzaLogistic\PpApi\Client\Params; +use OlzaLogistic\PpApi\Client\Model\Country; +use OlzaLogistic\PpApi\Client\Model\Spedition; + + $params = Params::create() - ->withCountry(Country::CZECH_REPUBLIC) + ->withCountry(Country::CZECHIA) ->withSpedition(Spedition::PACKETA_IPP); $result = $client->find($params);