@@ -236,6 +236,9 @@ |
||
236 | 236 | return true; |
237 | 237 | } |
238 | 238 | |
239 | + /** |
|
240 | + * @param vCard $vCard |
|
241 | + */ |
|
239 | 242 | private function mapField( $field, $vCard, &$tels, &$addresses, &$emails ) { |
240 | 243 | |
241 | 244 | $printRequest = $field->getPrintRequest(); |
@@ -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 |
@@ -39,6 +39,9 @@ |
||
39 | 39 | private $legendItem = []; |
40 | 40 | private $options; |
41 | 41 | |
42 | + /** |
|
43 | + * @param GraphOptions $options |
|
44 | + */ |
|
42 | 45 | public function __construct( $options ){ |
43 | 46 | $this->options = $options; |
44 | 47 | } |