Skip to content

Commit

Permalink
Update SessionInterface.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenglish7 committed Feb 13, 2018
1 parent 0874137 commit 49ad310
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/engine/Session/SessionInterface.php
Expand Up @@ -18,6 +18,15 @@
interface SessionInterface
{

/**
* Pass the config array to the manager.
*
* @param array $config The config array.
*
* @return void.
*/
function __construct(array $config);

/**
* Set a session variable.
*
Expand All @@ -42,7 +51,7 @@ public function set(string $name, string $value);
* it does not exist return the default return value
* passed.
*/
public function get(string $name, $defaultReturnValue = null);
public function get(string $name, $defaultReturnValue = \null);

/**
* Delete a session variable.
Expand Down

0 comments on commit 49ad310

Please sign in to comment.