Completed
Push — master ( c102b3...22c96d )
by Siro Díaz
02:00
created
DataStructures/Lists/DoublyLinkedList.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Generator for retrieve all nodes stored.
92 92
      * 
93
-     * @return null if the head is null (or list is empty)
93
+     * @return \Generator if the head is null (or list is empty)
94 94
      */
95 95
     public function getAll() {
96 96
         if($this->head === null) {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     /**
212 212
      * Adds at the beginning a node in the list.
213 213
      *
214
-     * @param mixed $data
214
+     * @param integer $data
215 215
      * @return mixed the data stored.
216 216
      */
217 217
     public function unshift($data) {
Please login to merge, or discard this patch.