@@ -26,6 +26,9 @@ |
||
| 26 | 26 | |
| 27 | 27 | protected $m_date; // the Julian day |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param integer $day |
|
| 31 | + */ |
|
| 29 | 32 | function create( $year, $month, $day ) { |
| 30 | 33 | if ( $year < 1582 || |
| 31 | 34 | ( $year == 1582 && ( $month < 10 || ( $month == 10 && $day < 15 ) ) ) ) { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | * @since 1.8 |
| 52 | 52 | * |
| 53 | 53 | * @param SMWQueryResult $result |
| 54 | - * @param $outputMode |
|
| 54 | + * @param integer $outputMode |
|
| 55 | 55 | * |
| 56 | 56 | * @return array |
| 57 | 57 | */ |
@@ -30,6 +30,10 @@ |
||
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | // /Tries to determine the namespace in the event it got lost |
| 33 | + |
|
| 34 | + /** |
|
| 35 | + * @param SMWQueryResult $res |
|
| 36 | + */ |
|
| 33 | 37 | protected function determineNamespace( $res ) { |
| 34 | 38 | $row = $res->getNext(); |
| 35 | 39 | if ( $row != null ) { |
@@ -136,7 +136,6 @@ |
||
| 136 | 136 | * |
| 137 | 137 | * @since 1.8 |
| 138 | 138 | * |
| 139 | - * @param array $data |
|
| 140 | 139 | * @param $minValue |
| 141 | 140 | * @param $maxValue |
| 142 | 141 | * |
@@ -45,7 +45,6 @@ discard block |
||
| 45 | 45 | * |
| 46 | 46 | * @since 1.8 |
| 47 | 47 | * |
| 48 | - * @param SMWQueryResult $result |
|
| 49 | 48 | * @param $outputMode |
| 50 | 49 | * |
| 51 | 50 | * @return array |
@@ -250,7 +249,6 @@ discard block |
||
| 250 | 249 | * |
| 251 | 250 | * @since 1.8 |
| 252 | 251 | * |
| 253 | - * @param array $data |
|
| 254 | 252 | * |
| 255 | 253 | * @return string |
| 256 | 254 | */ |
@@ -38,6 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @see SMWResultPrinter::getResultText() |
| 41 | + * @param integer $outputmode |
|
| 41 | 42 | */ |
| 42 | 43 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
| 43 | 44 | $numbers = $this->getNumbers( $res ); |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | * @see SMWResultPrinter::getResultText |
| 29 | 29 | * |
| 30 | 30 | * @param SMWQueryResult $res |
| 31 | - * @param array $params |
|
| 32 | 31 | * @param $outputmode |
| 33 | 32 | * |
| 34 | 33 | * @return string |
@@ -77,6 +77,7 @@ |
||
| 77 | 77 | * @see SMWResultPrinter::getResultText() |
| 78 | 78 | * |
| 79 | 79 | * @todo Split up megamoth |
| 80 | + * @param integer $outputmode |
|
| 80 | 81 | */ |
| 81 | 82 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
| 82 | 83 | $events = []; |
@@ -56,6 +56,7 @@ |
||
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * @param SMWQueryResult | null $queryResult |
| 59 | + * @param SMWQueryResult|null $queryResult |
|
| 59 | 60 | */ |
| 60 | 61 | public function setQueryResult( $queryResult ) { |
| 61 | 62 | $this->queryResult = $queryResult; |