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:
commit
d6b10e897b
@ -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)
|
||||
*/
|
||||
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user