8000 merged branch lyrixx/fix-request-get (PR #5894) · govaniso/symfony@313e4e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 313e4e5

Browse files
committed
merged branch lyrixx/fix-request-get (PR symfony#5894)
This PR was merged into the 2.1 branch. Commits ------- b9f6cac [2.1][HttpFoundation] Fixed Php doc in Request::get Discussion ---------- [2.1][HttpFoundation] Fixed Php doc in Request::get Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes License of the code: MIT According to php code, `Request::get` method does not seek in cookies. --------------------------------------------------------------------------- by pborreli at 2012-11-02T11:02:26Z your PR is full of reSquest typo :) --------------------------------------------------------------------------- by lyrixx at 2012-11-02T11:25:31Z @pborreli Fixed
2 parents c589982 + b9f6cac commit 313e4e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,15 +508,15 @@ public static function normalizeQueryString($qs)
508508
*
509509
* This method is mainly useful for libraries that want to provide some flexibility.
510510
*
511-
* Order of precedence: GET, PATH, POST, COOKIE
511+
* Order of precedence: GET, PATH, POST
512512
*
513513
* Avoid using this method in controllers:
514514
*
515515
* * slow
516516
* * prefer to get from a "named" source
517517
*
518518
* It is better to explicitly get request parameters from the appropriate
519-
* public property instead (query, request, attributes, ...).
519+
* public property instead (query, attributes, request).
520520
*
521521
* @param string $key the key
522522
* @param mixed $default the default value

0 commit comments

Comments
 (0)
0