diff --git a/doc/API-Friendica.md b/doc/API-Friendica.md index 8de299356..1cd3e8113 100644 --- a/doc/API-Friendica.md +++ b/doc/API-Friendica.md @@ -305,7 +305,7 @@ Returns [Private Messages](help/API-Entities#Private+message) matching the provi #### Parameters * `searchstring`: string for which the API call should search as '%searchstring%' in field 'body' of all messages of the authenticated user (caption ignored) -* `getText` (optional): `plain`|`html` If ommited, the title is prepended to the plaintext body in the `text` attribute of the private message objects. +* `getText` (optional): `plain`|`html` If omitted, the title is prepended to the plaintext body in the `text` attribute of the private message objects. * `getUserObjects` (optional): `true`|`false` If `false`, the `sender` and `recipient` attributes of the private message object are absent. #### Return values diff --git a/src/Network/HTTPClient/Response/CurlResult.php b/src/Network/HTTPClient/Response/CurlResult.php index f187fb62a..9db2f1304 100644 --- a/src/Network/HTTPClient/Response/CurlResult.php +++ b/src/Network/HTTPClient/Response/CurlResult.php @@ -216,7 +216,7 @@ class CurlResult implements ICanHandleHttpResponses $parts = []; } - /// @todo Checking the corresponding RFC which parts of a redirect can be ommitted. + /// @todo Checking the corresponding RFC which parts of a redirect can be omitted. $components = ['scheme', 'host', 'path', 'query', 'fragment']; foreach ($components as $component) { if (empty($redirect_parts[$component]) && !empty($parts[$component])) {