minor #11288 [DomCrawler] Fix Link docblocks and formatting (jakzal)

This PR was merged into the 2.3 branch.

Discussion
----------

[DomCrawler] Fix Link docblocks and formatting

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

re #11194

Commits
-------

5cbe13e [DomCrawler] Fix docblocks and formatting.
This commit is contained in:
Christophe Coevoet 2014-07-04 01:03:26 +02:00
commit d6b10e897b
1 changed files with 6 additions and 4 deletions

View File

@ -24,10 +24,12 @@ class Link
* @var \DOMNode A \DOMNode instance
*/
protected $node;
/**
* @var string The method to use for the link
*/
protected $method;
/**
* @var string The URI of the page where the link is embedded (or the base href)
*/
@ -187,7 +189,7 @@ class Link
/**
* Removes the query string and the anchor from the given uri.
*
* @param string $uri The uri to clean
* @param string $uri The uri to clean
*
* @return string
*/
@ -199,9 +201,9 @@ class Link
/**
* Remove the query string from the uri.
*
* @param $uri
* @param string $uri
*
* @return array
* @return string
*/
private function cleanupQuery($uri)
{
@ -215,7 +217,7 @@ class Link
/**
* Remove the anchor from the uri.
*
* @param $uri
* @param string $uri
*
* @return string
*/