Skip to content

Commit ee43bfc

Browse files
committed
improved phpDoc
1 parent 3042a0a commit ee43bfc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Forms/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ public function getControls(): \Iterator
319319

320320
/**
321321
* Returns form.
322+
* @return ($throw is true ? Form : ?Form)
322323
*/
323324
public function getForm(bool $throw = true): ?Form
324325
{

src/Forms/Controls/BaseControl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public function getCaption()
114114

115115
/**
116116
* Returns form.
117+
* @return ($throw is true ? Form : ?Form)
117118
*/
118119
public function getForm(bool $throw = true): ?Form
119120
{

0 commit comments

Comments
 (0)