From 9a2dd61300d8604a828f1e77f8a5647f0fa16955 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 00:07:52 -0400 Subject: [PATCH] spelling: omitted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- doc/API-Friendica.md | 2 +- src/Network/HTTPClient/Response/CurlResult.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/API-Friendica.md b/doc/API-Friendica.md index 8de2993568..1cd3e8113a 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 f187fb62ab..9db2f1304f 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])) {