Skip to content

Commit

Permalink
Update Session.php
Browse files Browse the repository at this point in the history
  • Loading branch information
7r1n17y committed Jul 10, 2017
1 parent 2e70c9d commit cca3ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manage/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function get(string $name = null, $default_return_val = null) {
* @throws InvalidArgumentException If the name variable is not a string or is empty
* @return void
*/
public function send(string $name = null, array $options = array('val' => null)) {
public function send(string $name = null, array $options = array('val' => null, 'expire' => 0)) {
if (!is_string($name) || is_null($name)) {
throw new \InvalidArgumentException(sprintf('$name only accepts strings. Input was: "%s"', gettype($name));
}
Expand Down

0 comments on commit cca3ce8

Please sign in to comment.