Skip to content

Commit

Permalink
Add accidentally removed phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Jul 12, 2024
1 parent a6257d8 commit f96c2c5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/console/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
* where `<route>` is a route to a controller action and the params will be populated as properties of a command.
* See [[options()]] for details.
*
* @property-read string $help
* @property-read string $helpSummary
* @property-read string $help The help information for this controller.
* @property-read string $helpSummary The one-line short summary describing this controller.
* @property-read array $passedOptionValues The properties corresponding to the passed options.
* @property-read array $passedOptions The names of the options passed during execution.
*
Expand Down
4 changes: 4 additions & 0 deletions framework/web/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
*
* For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers).
*
* @property Request $request The request object.
* @property Response $response The response object.
* @property View $view The view object that can be used to render views or view files.
*
* @author Qiang Xue <[email protected]>
* @since 2.0
*/
Expand Down
1 change: 1 addition & 0 deletions framework/web/CookieCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* For more details and usage information on CookieCollection, see the [guide article on handling cookies](guide:runtime-sessions-cookies).
*
* @property-read int $count The number of cookies in the collection.
* @property-read ArrayIterator $iterator An iterator for traversing the cookies in the collection.
*
* @author Qiang Xue <[email protected]>
* @since 2.0
Expand Down
3 changes: 3 additions & 0 deletions framework/web/HeaderCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
/**
* HeaderCollection is used by [[Response]] to maintain the currently registered HTTP headers.
*
* @property-read int $count The number of headers in the collection.
* @property-read \ArrayIterator $iterator An iterator for traversing the headers in the collection.
*
* @author Qiang Xue <[email protected]>
* @since 2.0
*/
Expand Down
1 change: 1 addition & 0 deletions framework/web/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
* @property bool $hasSessionId Whether the current request has sent the session ID.
* @property string $id The current session ID.
* @property-read bool $isActive Whether the session has started.
* @property-read SessionIterator $iterator An iterator for traversing the session variables.
* @property string $name The current session name.
* @property string $savePath The current session save path, defaults to '/tmp'.
* @property int $timeout The number of seconds after which data will be seen as 'garbage' and cleaned up. The
Expand Down

0 comments on commit f96c2c5

Please sign in to comment.