Skip to content

Commit

Permalink
Merge pull request codeigniter4#1032 from natanfelles/phpdocs
Browse files Browse the repository at this point in the history
Update PHPDoc params of redirect with setFlashdata
  • Loading branch information
lonnieezell authored May 21, 2018
2 parents 9491851 + d3575ba commit 56e5b51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions system/HTTP/RedirectResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ public function withInput()
/**
* Adds a key and message to the session as Flashdata.
*
* @param string $key
* @param string $message
* @param string $key
* @param string|array $message
*
* @return $this
*/
Expand Down
2 changes: 1 addition & 1 deletion system/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ public function __get($key)
* flashdata property, with $value containing the property value.
*
* @param array|string $data Property identifier or associative array of properties
* @param null $value Property value if $data is a scalar
* @param string|array $value Property value if $data is a scalar
*/
public function setFlashdata($data, $value = null)
{
Expand Down

0 comments on commit 56e5b51

Please sign in to comment.