@@ -68,7 +68,6 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * @since 3.1 |
70 | 70 | * |
71 | - * @param callable $compoundLabelCallback |
|
72 | 71 | */ |
73 | 72 | public function setFormatterCallback( callable $formatterCallback ) { |
74 | 73 | $this->formatterCallback = $formatterCallback; |
@@ -77,7 +76,7 @@ discard block |
||
77 | 76 | /** |
78 | 77 | * @since 3.1 |
79 | 78 | * |
80 | - * @param $key |
|
79 | + * @param string $key |
|
81 | 80 | * @param string $text |
82 | 81 | * |
83 | 82 | * @return string |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SRF\BibTex; |
4 | 4 | |
5 | -use SMWDataValue as DataValue; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * @see http://www.semantic-mediawiki.org/wiki/BibTex |
9 | 7 | * |
@@ -95,7 +95,6 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * @since 3.1 |
97 | 97 | * |
98 | - * @param array $list |
|
99 | 98 | * |
100 | 99 | * @return string |
101 | 100 | */ |
@@ -141,7 +140,7 @@ discard block |
||
141 | 140 | * |
142 | 141 | * @param $row array of SMWResultArray |
143 | 142 | * |
144 | - * @return bibTexItem |
|
143 | + * @return Item |
|
145 | 144 | */ |
146 | 145 | private function newItem( array /* of SMWResultArray */ $row ) { |
147 | 146 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\ResultPrinter; |
6 | 6 | use SMWQueryResult; |
7 | -use SMWWikiPageValue; |
|
8 | 7 | use GraphViz; |
9 | 8 | use Html; |
10 | 9 |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use SMWQuery as Query; |
9 | 9 | use SMWQueryProcessor as QueryProcessor; |
10 | 10 | use SMWQueryResult as QueryResult; |
11 | -use SMWTimeValue as TimeValue; |
|
12 | 11 | use WikiPage; |
13 | 12 | |
14 | 13 | /** |
@@ -258,6 +258,9 @@ |
||
258 | 258 | return $params; |
259 | 259 | } |
260 | 260 | |
261 | + /** |
|
262 | + * @param ResultArray $field |
|
263 | + */ |
|
261 | 264 | private function filterField( $field, &$params ) { |
262 | 265 | |
263 | 266 | // later we may add more things like a generic |
@@ -47,7 +47,6 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * @since 3.1 |
49 | 49 | * |
50 | - * @param OutlineTree $tree |
|
51 | 50 | * |
52 | 51 | * @return string |
53 | 52 | */ |
@@ -57,6 +56,9 @@ discard block |
||
57 | 56 | return $this->getIntroTemplate() . $this->template . $this->getOutroTemplate(); |
58 | 57 | } |
59 | 58 | |
59 | + /** |
|
60 | + * @param OutlineTree $outlineTree |
|
61 | + */ |
|
60 | 62 | private function tree( $outlineTree, $level = 0 ) { |
61 | 63 | |
62 | 64 | if ( $outlineTree->items !== null ) { |
@@ -116,6 +118,9 @@ discard block |
||
116 | 118 | return "<div class='" . $this->params['template'] . "-item'>" . $template . '</div>'; |
117 | 119 | } |
118 | 120 | |
121 | + /** |
|
122 | + * @param Linker|null $linker |
|
123 | + */ |
|
119 | 124 | private function itemText( $dv, $linker, $printRequest, &$first_col ) { |
120 | 125 | |
121 | 126 | if ( $first_col && $printRequest->isMode( PrintRequest::PRINT_THIS ) ) { |