Skip to content

Commit f8d43e3

Browse files
authored
Merge pull request z-song#5367 from Uyutaka/add_phpdoc
Fix PHPDoc
2 parents d7232b1 + 16e65cc commit f8d43e3

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/Form/Builder.php

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ class Builder
106106
* Builder constructor.
107107
*
108108
* @param Form $form
109+
*
110+
* @return void
109111
*/
110112
public function __construct(Form $form)
111113
{
@@ -118,6 +120,8 @@ public function __construct(Form $form)
118120

119121
/**
120122
* Do initialize.
123+
*
124+
* @return void
121125
*/
122126
public function init()
123127
{
@@ -170,7 +174,7 @@ public function getMode(): string
170174
/**
171175
* Returns builder is $mode.
172176
*
173-
* @param $mode
177+
* @param string $mode
174178
*
175179
* @return bool
176180
*/
@@ -202,7 +206,7 @@ public function isEditing(): bool
202206
/**
203207
* Set resource Id.
204208
*
205-
* @param $id
209+
* @param mixed $id
206210
*
207211
* @return void
208212
*/
@@ -268,6 +272,8 @@ public function getWidth(): array
268272
* Set form action.
269273
*
270274
* @param string $action
275+
*
276+
* @return void
271277
*/
272278
public function setAction($action)
273279
{
@@ -524,6 +530,8 @@ public function close(): string
524530

525531
/**
526532
* @param string $message
533+
*
534+
* @return void
527535
*/
528536
public function confirm(string $message)
529537
{
@@ -603,6 +611,8 @@ public function renderFooter(): string
603611

604612
/**
605613
* Add script for tab form.
614+
*
615+
* @return void
606616
*/
607617
protected function addTabformScript()
608618
{
@@ -632,6 +642,11 @@ protected function addTabformScript()
632642
Admin::script($script);
633643
}
634644

645+
/**
646+
* Add script for cascade.
647+
*
648+
* @return void
649+
*/
635650
protected function addCascadeScript()
636651
{
637652
$script = <<<SCRIPT

0 commit comments

Comments
 (0)