Skip to content

Commit

Permalink
improved phpDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 21, 2024
1 parent 3042a0a commit ee43bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Forms/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ public function getControls(): \Iterator

/**
* Returns form.
* @return ($throw is true ? Form : ?Form)
*/
public function getForm(bool $throw = true): ?Form
{
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/BaseControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public function getCaption()

/**
* Returns form.
* @return ($throw is true ? Form : ?Form)
*/
public function getForm(bool $throw = true): ?Form
{
Expand Down

0 comments on commit ee43bfc

Please sign in to comment.