@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * Parser constructor. |
| 100 | 100 | * |
| 101 | 101 | * @param \LesserPhp\Compiler $lessc |
| 102 | - * @param null $sourceName |
|
| 102 | + * @param string $sourceName |
|
| 103 | 103 | */ |
| 104 | 104 | public function __construct(Compiler $lessc, $sourceName = null) |
| 105 | 105 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | - * @param $buffer |
|
| 126 | + * @param string $buffer |
|
| 127 | 127 | * |
| 128 | 128 | * @return mixed |
| 129 | 129 | * @throws \LesserPhp\Exception\GeneralException |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | * recursively parse infix equation with $lhs at precedence $minP |
| 477 | 477 | * |
| 478 | 478 | * @param $lhs |
| 479 | - * @param $minP |
|
| 479 | + * @param integer $minP |
|
| 480 | 480 | * |
| 481 | 481 | * @return array |
| 482 | 482 | */ |
@@ -810,10 +810,10 @@ discard block |
||
| 810 | 810 | /** |
| 811 | 811 | * an unbounded string stopped by $end |
| 812 | 812 | * |
| 813 | - * @param $end |
|
| 813 | + * @param string $end |
|
| 814 | 814 | * @param $out |
| 815 | 815 | * @param null $nestingOpen |
| 816 | - * @param null $rejectStrs |
|
| 816 | + * @param string[] $rejectStrs |
|
| 817 | 817 | * |
| 818 | 818 | * @return bool |
| 819 | 819 | */ |
@@ -1648,7 +1648,7 @@ discard block |
||
| 1648 | 1648 | * @param bool $until |
| 1649 | 1649 | * @param bool $allowNewline |
| 1650 | 1650 | * |
| 1651 | - * @return bool |
|
| 1651 | + * @return null|boolean |
|
| 1652 | 1652 | */ |
| 1653 | 1653 | protected function to($what, &$out, $until = false, $allowNewline = false) |
| 1654 | 1654 | { |
@@ -1821,7 +1821,7 @@ discard block |
||
| 1821 | 1821 | /** |
| 1822 | 1822 | * push a block that doesn't multiply tags |
| 1823 | 1823 | * |
| 1824 | - * @param $type |
|
| 1824 | + * @param string $type |
|
| 1825 | 1825 | * |
| 1826 | 1826 | * @return \stdClass |
| 1827 | 1827 | */ |
@@ -1834,7 +1834,7 @@ discard block |
||
| 1834 | 1834 | * append a property to the current block |
| 1835 | 1835 | * |
| 1836 | 1836 | * @param $prop |
| 1837 | - * @param $pos |
|
| 1837 | + * @param integer $pos |
|
| 1838 | 1838 | */ |
| 1839 | 1839 | protected function append($prop, $pos = null) |
| 1840 | 1840 | { |
@@ -1847,7 +1847,7 @@ discard block |
||
| 1847 | 1847 | /** |
| 1848 | 1848 | * pop something off the stack |
| 1849 | 1849 | * |
| 1850 | - * @return mixed |
|
| 1850 | + * @return null|\stdClass |
|
| 1851 | 1851 | */ |
| 1852 | 1852 | protected function pop() |
| 1853 | 1853 | { |
@@ -1945,7 +1945,7 @@ discard block |
||
| 1945 | 1945 | } |
| 1946 | 1946 | |
| 1947 | 1947 | /** |
| 1948 | - * @param $s |
|
| 1948 | + * @param integer $s |
|
| 1949 | 1949 | * |
| 1950 | 1950 | * @return bool |
| 1951 | 1951 | */ |