@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * |
28 | 28 | * @param string $sName The command name |
29 | 29 | * @param array $aAttributes Associative array of attributes that will describe the command |
30 | - * @param mixed $mData The data to be associated with this command |
|
30 | + * @param string $mData The data to be associated with this command |
|
31 | 31 | * @param boolean $bRemoveEmpty If true, remove empty attributes |
32 | 32 | * |
33 | 33 | * @return Response |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * @param string $sURL The relative or fully qualified URL |
82 | 82 | * @param integer $iDelay Number of seconds to delay before the redirect occurs |
83 | 83 | * |
84 | - * @return Response |
|
84 | + * @return JsCommands |
|
85 | 85 | */ |
86 | 86 | public function redirect($sURL, $iDelay = 0) |
87 | 87 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param callable|null $xCallable The callback function |
56 | 56 | * |
57 | - * @return void |
|
57 | + * @return callable|null |
|
58 | 58 | */ |
59 | 59 | public function before($xCallable = null) |
60 | 60 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @param callable|null $xCallable The callback function |
72 | 72 | * |
73 | - * @return void |
|
73 | + * @return callable|null |
|
74 | 74 | */ |
75 | 75 | public function after($xCallable = null) |
76 | 76 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * |
87 | 87 | * @param callable|null $xCallable The callback function |
88 | 88 | * |
89 | - * @return void |
|
89 | + * @return callable|null |
|
90 | 90 | */ |
91 | 91 | public function invalid($xCallable = null) |
92 | 92 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * |
103 | 103 | * @param callable|null $xCallable The callback function |
104 | 104 | * |
105 | - * @return void |
|
105 | + * @return callable|null |
|
106 | 106 | */ |
107 | 107 | public function error($xCallable = null) |
108 | 108 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * |
119 | 119 | * @param callable|null $xCallable The callback function |
120 | 120 | * |
121 | - * @return void |
|
121 | + * @return callable|null |
|
122 | 122 | */ |
123 | 123 | public function init($xCallable = null) |
124 | 124 | { |
@@ -104,7 +104,7 @@ |
||
104 | 104 | { |
105 | 105 | throw new \Jaxon\Exception\Error($this->getValidatorMessage()); |
106 | 106 | } |
107 | - } |
|
107 | + } |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | return $aTempFiles; |