Completed
Push — master ( 46289f...c51b27 )
by Siro Díaz
01:28
created
DataStructures/Lists/DoublyLinkedList.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Returns the last node with O(1).
119 119
      *
120
-     * @return DataStructures\Lists\Nodes\DoublyLinkedListNode|null if the list is empty.
120
+     * @return null|DoublyLinkedListNode if the list is empty.
121 121
      */
122 122
     public function searchLast() {
123 123
         if($this->head === null) {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Generator for retrieve all nodes stored.
231 231
      * 
232
-     * @return null if the head is null (or list is empty)
232
+     * @return \Generator if the head is null (or list is empty)
233 233
      */
234 234
     public function getAll() {
235 235
         if($this->head === null) {
Please login to merge, or discard this patch.