@@ -329,7 +329,7 @@ |
||
329 | 329 | * @param string $str The string to unescape |
330 | 330 | * @param string $esc The escape character used |
331 | 331 | * @param string $quo The quote character used |
332 | - * @return mixed The string with characters unescaped |
|
332 | + * @return string The string with characters unescaped |
|
333 | 333 | * @todo This actually shouldn't even be necessary. Characters should be read |
334 | 334 | * in one at a time and a quote that follows another should just be ignored |
335 | 335 | * deeming this unnecessary. |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | * Returns a new collection with $items added. |
441 | 441 | * |
442 | 442 | * @param array $items Any number of arguments will be pushed onto the |
443 | - * @return mixed The first item in this collection |
|
443 | + * @return Collection The first item in this collection |
|
444 | 444 | */ |
445 | 445 | public function push(...$items) |
446 | 446 | { |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | * |
454 | 454 | * Returns a new collection with $items added. |
455 | 455 | * |
456 | - * @return mixed The first item in this collection |
|
456 | + * @return Collection The first item in this collection |
|
457 | 457 | */ |
458 | 458 | public function unshift(...$items) |
459 | 459 | { |
@@ -592,7 +592,7 @@ discard block |
||
592 | 592 | /** |
593 | 593 | * Returns collection in reverse order. |
594 | 594 | * |
595 | - * @param null $preserveKeys True if you want to preserve collection's keys |
|
595 | + * @param boolean $preserveKeys True if you want to preserve collection's keys |
|
596 | 596 | * @return Collection This collection in reverse order. |
597 | 597 | */ |
598 | 598 | public function reverse($preserveKeys = null) |
@@ -692,7 +692,7 @@ |
||
692 | 692 | * |
693 | 693 | * @param string $data The data to check |
694 | 694 | * |
695 | - * @return bool Whether the data is quoted or not |
|
695 | + * @return integer Whether the data is quoted or not |
|
696 | 696 | */ |
697 | 697 | protected function isQuoted($data) |
698 | 698 | { |