Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docblocks with missing args. #5

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update docblocks with missing args.
  • Loading branch information
digital-brew committed Nov 1, 2024
commit a6634117386393996e0790af2b4e9fb1d53338bb
18 changes: 9 additions & 9 deletions src/Editor/GutengoodBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function addComponent(string $name, string $type, array $args = []): s
* TimePicker control component
*
* @param string $name The name of the component.
* @param array $args (string label, bool is12hour)
* @param array $args (string label, string help, bool is12hour)
*
* @return self
*/
Expand All @@ -57,7 +57,7 @@ public function addTimePicker(string $name, array $args = []): self
* File component
*
* @param string $name The name of the component.
* @param array $args (string label)
* @param array $args (string label, string help)
*
* @return self
*/
Expand Down Expand Up @@ -96,7 +96,7 @@ public function addTextarea(string $name, array $args = []): self
* Toggle control component
*
* @param string $name The name of the component.
* @param array $args (string label, bool value)
* @param array $args (string label, string help, bool value)
*
* @return self
*/
Expand All @@ -109,7 +109,7 @@ public function addToggle(string $name, array $args = []): self
* ColorPalette control component
*
* @param string $name The name of the component.
* @param array $args (string label, array colors (string name, string color hex, string slug), string value)
* @param array $args (string label, string help, array colors (string name, string color hex, string slug), string value)
*
* @return self
*/
Expand All @@ -122,7 +122,7 @@ public function addColorPalette(string $name, array $args = []): self
* ColorPicker control component
*
* @param string $name The name of the component.
* @param array $args (string label, bool alfa)
* @param array $args (string label, string help, bool alfa)
*
* @return self
*/
Expand All @@ -135,7 +135,7 @@ public function addColorPicker(string $name, array $args = []): self
* Select control component
*
* @param string $name The name of the component.
* @param array $args (string label, array choices (string label, string value), string value)
* @param array $args (string label, string help, array choices (string label, string value), string value)
*
* @return self
*/
Expand All @@ -148,7 +148,7 @@ public function addSelect(string $name, array $args = []): self
* Image component
*
* @param string $name The name of the component.
* @param array $args (string label, int value)
* @param array $args (string label, string help, int value)
*
* @return self
*/
Expand All @@ -161,7 +161,7 @@ public function addImage(string $name, array $args = []): self
* RichText component
*
* @param string $name The name of the component.
* @param array $args (string placeholder, string value)
* @param array $args (string label, string help, string placeholder, string value)
*
* @return self
*/
Expand All @@ -174,7 +174,7 @@ public function addRichText(string $name, array $args = []): self
* Range control component
*
* @param string $name The name of the component.
* @param array $args (string placeholder, int step, int min, int max, int value)
* @param array $args (string label, string help, string placeholder, int step, int min, int max, int value)
*
* @return self
*/
Expand Down