spelling: parameter

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-22 00:07:57 -04:00
parent 6206c7d2e1
commit 39a5bfc0c0
2 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ class Statuses extends BaseApi
'sensitive' => false, // Mark status and attached media as sensitive? '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. '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". '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. 'language' => '', // ISO 639 language code for this status.
'friendica' => [], // Friendica extensions to the standard Mastodon API spec 'friendica' => [], // Friendica extensions to the standard Mastodon API spec
], $request); ], $request);

View file

@ -178,7 +178,7 @@ class DbaDefinitionSqlWriter
* Creates the SQL definition to modify a table field * Creates the SQL definition to modify a table field
* *
* @param string $fieldName The table field name * @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 * @return string The SQL definition
*/ */
@ -235,7 +235,7 @@ class DbaDefinitionSqlWriter
* @param string $method The method to create the index (default is ADD) * @param string $method The method to create the index (default is ADD)
* *
* @return string The SQL definition * @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 public static function createIndex(string $indexName, array $fieldNames, string $method = 'ADD'): string
{ {