From f071d1dc721e8f270a102eb7fe86b738e816ce7b Mon Sep 17 00:00:00 2001 From: Netkas Date: Fri, 30 Dec 2022 03:00:04 -0500 Subject: [PATCH] Updated documentation for base instructions --- docs/instructions/base/array_get.md | 4 ++-- docs/instructions/base/array_set.md | 6 +++--- docs/instructions/base/get.md | 2 +- docs/instructions/base/invoke.md | 8 ++++---- docs/instructions/base/set.md | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/instructions/base/array_get.md b/docs/instructions/base/array_get.md index c39c7c7..72f8b8a 100644 --- a/docs/instructions/base/array_get.md +++ b/docs/instructions/base/array_get.md @@ -4,8 +4,8 @@ Get an item from an array using "dot" notation. ## Parameters -* array (`array`, `instruction`) - The array to get the value from. -* key (`string`, `instruction`) - The key to get the value for. +* array (`array`) - The array to get the value from. +* key (`string`) - The key to get the value for. ## Return diff --git a/docs/instructions/base/array_set.md b/docs/instructions/base/array_set.md index 45fee77..e765a93 100644 --- a/docs/instructions/base/array_set.md +++ b/docs/instructions/base/array_set.md @@ -4,9 +4,9 @@ Set an item in an array using "dot" notation. ## Parameters -* array (`array`, `instruction`) - The array to get the value from. -* key (`string`, `instruction`) - The key to get the value for. -* value (`any`, `instruction`) - The value to set. +* array (`array`) - The array to get the value from. +* key (`string`) - The key to get the value for. +* value (`any`) - The value to set. ## Return diff --git a/docs/instructions/base/get.md b/docs/instructions/base/get.md index 2662fc9..efbc627 100644 --- a/docs/instructions/base/get.md +++ b/docs/instructions/base/get.md @@ -4,7 +4,7 @@ Gets an existing variable from the environment. ## Parameters -* name (`string`, `instruction`) - The name of the variable to get. +* name (`string`) - The name of the variable to get. ## Return diff --git a/docs/instructions/base/invoke.md b/docs/instructions/base/invoke.md index 42b8495..e67d533 100644 --- a/docs/instructions/base/invoke.md +++ b/docs/instructions/base/invoke.md @@ -4,10 +4,10 @@ Invokes a method under a namespace. ## Parameters -* namespace (`string`, `instruction`) - The namespace to invoke the method under. -* method (`string`, `instruction`) - The method to invoke. -* parameters (`array`, `instruction`) - The parameters to pass to the method. -* fail_on_error (`boolean`, `instruction`) - Whether to fail if the method throws an exception. +* namespace (`string`) - The namespace to invoke the method under. +* method (`string`) - The method to invoke. +* parameters (`array`) - The parameters to pass to the method. +* fail_on_error (`boolean`) - Whether to fail if the method throws an exception. ## Return diff --git a/docs/instructions/base/set.md b/docs/instructions/base/set.md index de58359..81afa78 100644 --- a/docs/instructions/base/set.md +++ b/docs/instructions/base/set.md @@ -4,8 +4,8 @@ Sets aor overwrites a variable in the environment. ## Parameters -* name (`string`, `instruction`) - The name of the variable to get. -* value (`any`, `instruction`) - The value to set. +* name (`string`) - The name of the variable to get. +* value (`any`) - The value to set. ## Return