{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/13107","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/13107/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/13107/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/13107/events","html_url":"https://github.com/laravel/framework/issues/13107","id":147374565,"number":13107,"title":"[5.2.29] Bug with Merging a value into the Request","user":{"login":"Milewski","id":2874967,"avatar_url":"https://avatars.githubusercontent.com/u/2874967?v=3","gravatar_id":"","url":"https://api.github.com/users/Milewski","html_url":"https://github.com/Milewski","followers_url":"https://api.github.com/users/Milewski/followers","following_url":"https://api.github.com/users/Milewski/following{/other_user}","gists_url":"https://api.github.com/users/Milewski/gists{/gist_id}","starred_url":"https://api.github.com/users/Milewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Milewski/subscriptions","organizations_url":"https://api.github.com/users/Milewski/orgs","repos_url":"https://api.github.com/users/Milewski/repos","events_url":"https://api.github.com/users/Milewski/events{/privacy}","received_events_url":"https://api.github.com/users/Milewski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T09:52:06Z","updated_at":"2016-04-11T10:41:14Z","closed_at":"2016-04-11T10:41:14Z","body":"Hi i notice a wired behavior while i was trying to override some parameters in the Request. \r\n\r\ncode speaks better than words.\r\n\r\n```php\r\npublic function someMethodOnTheController(Request $request){\r\n\r\n        $code = $request->get('code'); \r\n        // dd($code) -> Hello World\r\n        \r\n        $code = 'Hello Steven';\r\n        // dd($code) -> Hello Steven\r\n\r\n        $request->merge(compact('code'));\r\n\r\n        dd($request->get('code')); //Hello World\r\n        dd($request->code); //Hello Steven\r\n        dd($request->all()); //['code'=>'Hello Steven']\r\n\r\n}\r\n```\r\nThe ```$request->get('code')``` doesn't seen to get the right value\r\n\r\nis it a bug on the Illuminate\\Http\\Request class?"}}