fix Input::merge method.
This commit is contained in:
@@ -235,6 +235,17 @@ class Input {
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function merge(array $input)
|
public static function merge(array $input)
|
||||||
|
{
|
||||||
|
Request::foundation()->request->add($input);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replace the input for the current request.
|
||||||
|
*
|
||||||
|
* @param array $input
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public static function replace(array $input)
|
||||||
{
|
{
|
||||||
Request::foundation()->request->replace($input);
|
Request::foundation()->request->replace($input);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user