Completed
Push — issue-650 ( 5e7cd5...3609c3 )
by GIT
03:25
created
src/BibTex/Item.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/BibTex/BibTexFileExportPrinter.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Graph/GraphPrinter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SMW\ResultPrinter;
6 6
 use SMWQueryResult;
7
-use SMWWikiPageValue;
8 7
 use GraphViz;
9 8
 use Html;
10 9
 
Please login to merge, or discard this patch.
src/iCalendar/iCalendarFileExportPrinter.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Outline/TemplateBuilder.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ) ) {
Please login to merge, or discard this patch.
formats/media/MediaPlayer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use FormatJson;
7 7
 use Html;
8 8
 use MediaWiki\MediaWikiServices;
9
-use Skin;
10 9
 use SMW\ResultPrinter;
11 10
 use SMWDataItem;
12 11
 use SMWDataValue;
Please login to merge, or discard this patch.
SemanticResultFormats.utils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@
 block discarded – undo
76 76
 	 *
77 77
 	 * @param array $data
78 78
 	 *
79
-	 * @param string|null|bool $nonce
79
+	 * @param boolean $nonce
80 80
 	 *
81
-	 * @return string|WrappedString HTML
81
+	 * @return string HTML
82 82
 	 */
83 83
 	public static function makeVariablesScript( $data, $nonce = null ) {
84 84
 		$script = ResourceLoader::makeConfigSetScript( $data );
Please login to merge, or discard this patch.
formats/filtered/src/View/ListView.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,10 +111,10 @@
 block discarded – undo
111 111
 	 *
112 112
 	 * @param \SMWResultArray[] $row
113 113
 	 * @param $rownum
114
-	 * @param $rowstart
115
-	 * @param $rowend
114
+	 * @param string $rowstart
115
+	 * @param string $rowend
116 116
 	 * @param $result
117
-	 * @param $listsep
117
+	 * @param string $listsep
118 118
 	 */
119 119
 	protected function printRow( $row, &$rownum, $rowstart, $rowend, &$result, $listsep ) {
120 120
 
Please login to merge, or discard this patch.
tests/phpunit/Unit/Formats/GalleryTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	 *
50 50
 	 * @since 1.8
51 51
 	 *
52
-	 * @return array
52
+	 * @return string[]
53 53
 	 */
54 54
 	public function getFormats() {
55 55
 		return [ 'gallery' ];
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SRF\Tests\Unit\Formats;
4 4
 
5 5
 use SRF\Gallery;
6
-use TraditionalImageGallery;
7 6
 use Title;
8 7
 use SMW\Test\QueryPrinterRegistryTestCase;
9 8
 
Please login to merge, or discard this patch.