From 39a5bfc0c0ea3777b63adb57a7d6cb4b40a70e86 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 22 Mar 2023 00:07:57 -0400 Subject: [PATCH] spelling: parameter Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Module/Api/Mastodon/Statuses.php | 2 +- src/Util/Writer/DbaDefinitionSqlWriter.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Module/Api/Mastodon/Statuses.php b/src/Module/Api/Mastodon/Statuses.php index 8b72af8eea..185756cdf8 100644 --- a/src/Module/Api/Mastodon/Statuses.php +++ b/src/Module/Api/Mastodon/Statuses.php @@ -181,7 +181,7 @@ class Statuses extends BaseApi 'sensitive' => false, // Mark status and attached media as sensitive? 'spoiler_text' => '', // Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field. 'visibility' => '', // Visibility of the posted status. One of: "public", "unlisted", "private" or "direct". - 'scheduled_at' => '', // ISO 8601 Datetime at which to schedule a status. Providing this paramter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future. + 'scheduled_at' => '', // ISO 8601 Datetime at which to schedule a status. Providing this parameter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future. 'language' => '', // ISO 639 language code for this status. 'friendica' => [], // Friendica extensions to the standard Mastodon API spec ], $request); diff --git a/src/Util/Writer/DbaDefinitionSqlWriter.php b/src/Util/Writer/DbaDefinitionSqlWriter.php index 95ab586b18..786eb86650 100644 --- a/src/Util/Writer/DbaDefinitionSqlWriter.php +++ b/src/Util/Writer/DbaDefinitionSqlWriter.php @@ -178,7 +178,7 @@ class DbaDefinitionSqlWriter * Creates the SQL definition to modify a table field * * @param string $fieldName The table field name - * @param array $parameters The paramters to modify + * @param array $parameters The parameters to modify * * @return string The SQL definition */ @@ -235,7 +235,7 @@ class DbaDefinitionSqlWriter * @param string $method The method to create the index (default is ADD) * * @return string The SQL definition - * @throws Exception in cases the paramter contains invalid content + * @throws Exception in cases the parameter contains invalid content */ public static function createIndex(string $indexName, array $fieldNames, string $method = 'ADD'): string {