summaryrefslogtreecommitdiff
path: root/src/Nodes/DOM/DOMNodeList.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2019-06-17 23:20:43 +0100
committerAndres Rey <[email protected]>2019-06-17 23:20:43 +0100
commitf0b1288ca6d40c461df6b30296d77b9ac5425371 (patch)
tree349d08578de0a27a10969947137d1f8741d791c7 /src/Nodes/DOM/DOMNodeList.php
parent45a5ab6f11ce59a2ab9b18eb8c734ad18de86605 (diff)
Style CI Changes
Diffstat (limited to 'src/Nodes/DOM/DOMNodeList.php')
-rw-r--r--src/Nodes/DOM/DOMNodeList.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/Nodes/DOM/DOMNodeList.php b/src/Nodes/DOM/DOMNodeList.php
index 6a53fdf..5149c0b 100644
--- a/src/Nodes/DOM/DOMNodeList.php
+++ b/src/Nodes/DOM/DOMNodeList.php
@@ -3,7 +3,7 @@
namespace andreskrey\Readability\Nodes\DOM;
/**
- * Class DOMNodeList
+ * Class DOMNodeList.
*
* This is a fake DOMNodeList class that allows adding items to the list. The original class is static and the nodes
* are defined automagically when instantiating it. This fake version behaves exactly the same way but adds the function
@@ -11,8 +11,6 @@ namespace andreskrey\Readability\Nodes\DOM;
*
* It cannot extend the original DOMNodeList class because the functionality behind the property ->length is hidden
* from the user and cannot be extended, changed, or tweaked.
- *
- * @package andreskrey\Readability\Nodes\DOM
*/
class DOMNodeList implements \Countable, \IteratorAggregate
{
@@ -27,9 +25,9 @@ class DOMNodeList implements \Countable, \IteratorAggregate
protected $length = 0;
/**
- * To allow access to length in the same way that DOMNodeList allows
+ * To allow access to length in the same way that DOMNodeList allows.
*
- * {@inheritDoc}
+ * {@inheritdoc}
*/
public function __get($name)
{
@@ -73,13 +71,12 @@ class DOMNodeList implements \Countable, \IteratorAggregate
}
/**
- * To make it compatible with iterator_to_array() function
+ * To make it compatible with iterator_to_array() function.
*
- * {@inheritDoc}
+ * {@inheritdoc}
*/
public function getIterator(): \ArrayIterator
{
return new \ArrayIterator($this->items);
}
-
}