File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,6 @@ public static function get($key = null, $default = null)
89
89
*/
90
90
public static function query ($ key = null , $ default = null )
91
91
{
92
- if (is_null ($ key ))
93
- {
94
- return Request::foundation ()->query ->all ();
95
- }
96
-
97
92
return array_get (Request::foundation ()->query ->all (), $ key , $ default );
98
93
}
99
94
@@ -163,11 +158,6 @@ public static function had($key)
163
158
*/
164
159
public static function old ($ key = null , $ default = null )
165
160
{
166
- if (is_null ($ key ))
167
- {
168
- return Session::get (Input::old_input, array ());
169
- }
170
-
171
161
return array_get (Session::get (Input::old_input, array ()), $ key , $ default );
172
162
}
173
163
@@ -185,11 +175,6 @@ public static function old($key = null, $default = null)
185
175
*/
186
176
public static function file ($ key = null , $ default = null )
187
177
{
188
- if (is_null ($ key ))
189
- {
190
- return $ _FILES ;
191
- }
192
-
193
178
return array_get ($ _FILES , $ key , $ default );
194
179
}
195
180
You can’t perform that action at this time.
0 commit comments