Completed
Pull Request — master (#33)
by
unknown
13:02
created
src/Support/Session.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @param null $name
11 11
      *
12
-     * @return mixed
12
+     * @return string
13 13
      */
14 14
     protected function makeSessionVarName($name = null)
15 15
     {
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
      * Get a session var value.
21 21
      *
22 22
      * @param null $var
23
+     * @param boolean $default
23 24
      *
24 25
      * @return mixed
25 26
      */
@@ -73,6 +74,9 @@  discard block
 block discarded – undo
73 74
         );
74 75
     }
75 76
 
77
+    /**
78
+     * @param string $string
79
+     */
76 80
     abstract protected function config($string, $children = []);
77 81
 
78 82
     abstract public function getRequest();
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function sessionGet($var = null, $default = null)
27 27
     {
28
-        if($this->stateless) {
28
+        if ($this->stateless) {
29 29
             return $default;
30 30
         }
31 31
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function sessionPut($var, $value)
47 47
     {
48
-        if($this->stateless) {
48
+        if ($this->stateless) {
49 49
             return $value;
50 50
         }
51 51
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function sessionForget($var = null)
66 66
     {
67
-        if($this->stateless) {
67
+        if ($this->stateless) {
68 68
             return;
69 69
         }
70 70
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         );
74 74
     }
75 75
 
76
-    abstract protected function config($string, $children = []);
76
+    abstract protected function config($string, $children = [ ]);
77 77
 
78 78
     abstract public function getRequest();
79 79
 }
Please login to merge, or discard this patch.