Completed
Push — master ( 204f66...0e54bc )
by mw
8s
created
src/Category/ByLanguageCategoryViewer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,8 @@  discard block
 block discarded – undo
18 18
 
19 19
 	/**
20 20
 	 * @see CategoryViewer::addImage
21
+	 * @param string $sortkey
22
+	 * @param string $pageLength
21 23
 	 */
22 24
 	public function addImage( Title $title, $sortkey, $pageLength, $isRedirect = false ) {
23 25
 
@@ -30,6 +32,8 @@  discard block
 block discarded – undo
30 32
 
31 33
 	/**
32 34
 	 * @see CategoryViewer::addSubcategoryObject
35
+	 * @param string $sortkey
36
+	 * @param string $pageLength
33 37
 	 */
34 38
 	public function addSubcategoryObject( Category $cat, $sortkey, $pageLength ) {
35 39
 
@@ -42,6 +46,8 @@  discard block
 block discarded – undo
42 46
 
43 47
 	/**
44 48
 	 * @see CategoryViewer::addPage
49
+	 * @param string $sortkey
50
+	 * @param string $pageLength
45 51
 	 */
46 52
 	public function addPage( $title, $sortkey, $pageLength, $isRedirect = false ) {
47 53
 
Please login to merge, or discard this patch.
src/HookRegistry.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -65,6 +65,11 @@
 block discarded – undo
65 65
 		}
66 66
 	}
67 67
 
68
+	/**
69
+	 * @param Store $store
70
+	 * @param Cache $cache
71
+	 * @param CacheKeyProvider $cacheKeyProvider
72
+	 */
68 73
 	private function addCallbackHandlers( $store, $cache, $cacheKeyProvider ) {
69 74
 
70 75
 		$languageTargetLinksCache = new LanguageTargetLinksCache(
Please login to merge, or discard this patch.
src/InterlanguageLinkParserFunction.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SIL;
4 4
 
5
-use Onoi\Cache\CacheFactory;
6 5
 use Title;
7 6
 use Language;
8 7
 
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@  discard block
 block discarded – undo
114 114
 		return $this->createSiteLanguageLinks( $interlanguageLink );
115 115
 	}
116 116
 
117
+	/**
118
+	 * @param string $linkReference
119
+	 */
117 120
 	private function getTitleFrom( $isSupportedLanguage, $languageCode, $linkReference ) {
118 121
 
119 122
 		if ( $this->inRevisionMode || !$this->languageLinkAnnotator->canAddAnnotation() ) {
@@ -173,6 +176,9 @@  discard block
 block discarded – undo
173 176
 		return Language::isSupportedLanguage( $languageCode );
174 177
 	}
175 178
 
179
+	/**
180
+	 * @param string $messageKey
181
+	 */
176 182
 	private function createErrorMessageFor( $messageKey, $arg1 = '', $arg2 = '', $arg3 = '',$arg4 = '' ) {
177 183
 		return '<div class="smw-callout smw-callout-error">' . wfMessage(
178 184
 			$messageKey,
Please login to merge, or discard this patch.
src/InterlanguageLinksLookup.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
 	}
236 236
 
237 237
 	/**
238
-	 * @return QueryResult
238
+	 * @return \SMWQueryResult
239 239
 	 */
240 240
 	private function getQueryResultForInterlanguageLink( InterlanguageLink $interlanguageLink ) {
241 241
 
@@ -273,6 +273,9 @@  discard block
 block discarded – undo
273 273
 		return $this->store->getQueryResult( $query );
274 274
 	}
275 275
 
276
+	/**
277
+	 * @param \SMWQueryResult $queryResult
278
+	 */
276 279
 	private function iterateQueryResultToFindLanguageTargetLinks( $queryResult, array &$languageTargetLinks ) {
277 280
 
278 281
 		while ( $resultArray = $queryResult->getNext() ) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,16 +5,13 @@
 block discarded – undo
5 5
 use SMW\Query\Language\Conjunction;
6 6
 use SMW\Query\Language\SomeProperty;
7 7
 use SMW\Query\Language\ValueDescription;
8
-
9 8
 use SMW\Store;
10 9
 use SMW\DIWikiPage;
11 10
 use SMW\DIProperty;
12
-
13 11
 use SMWPrintRequest as PrintRequest;
14 12
 use SMWPropertyValue as PropertyValue;
15 13
 use SMWQuery as Query;
16 14
 use SMWDIBlob as DIBlob;
17
-
18 15
 use Title;
19 16
 
20 17
 /**
Please login to merge, or discard this patch.
src/InterlanguageListParserFunction.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
 		return $languageTargetLinks;
75 75
 	}
76 76
 
77
+	/**
78
+	 * @param string $template
79
+	 */
77 80
 	private function createTemplateInclusionCode( array $languageTargetLinks, $template ) {
78 81
 
79 82
 		$result = '';
@@ -104,6 +107,9 @@  discard block
 block discarded – undo
104 107
 		return ( $targetLink->getNamespace() === NS_CATEGORY ? ':' : '' ) . $targetLink->getPrefixedText();
105 108
 	}
106 109
 
110
+	/**
111
+	 * @param string $messageKey
112
+	 */
107 113
 	private function createErrorMessageFor( $messageKey, $arg1 = '' ) {
108 114
 		return '<div class="smw-callout smw-callout-error">' . wfMessage( $messageKey, $arg1 )->inContentLanguage()->text() . '</div>';
109 115
 	}
Please login to merge, or discard this patch.
src/InterwikiLanguageLink.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	/**
75 75
 	 * @since 1.0
76 76
 	 *
77
-	 * @return DataValue
77
+	 * @return \SMWDataValue
78 78
 	 */
79 79
 	public function newLanguageDataValue() {
80 80
 		return DataValueFactory::getInstance()->newDataItemValue(
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	/**
87 87
 	 * @since 1.0
88 88
 	 *
89
-	 * @return DataValue
89
+	 * @return \SMWDataValue
90 90
 	 */
91 91
 	public function newInterwikiReferenceDataValue() {
92 92
 		return DataValueFactory::getInstance()->newDataItemValue(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use SMW\DataValueFactory;
6 6
 use SMW\DIProperty;
7 7
 use SMW\DIWikiPage;
8
-
9 8
 use SMWDIBlob as DIBlob;
10
-
11 9
 use Title;
12 10
 
13 11
 /**
Please login to merge, or discard this patch.
src/Search/SearchResultModifier.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SIL\Search;
4 4
 
5 5
 use Html;
6
-use LanguageNames;
7 6
 use Language;
8 7
 use XmlSelect;
9 8
 use Xml;
Please login to merge, or discard this patch.
src/SiteLanguageLinksParserOutputAppender.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
45 45
 	/**
46 46
 	 * @since 1.0
47 47
 	 *
48
-	 * @param Title $target
49 48
 	 *
50 49
 	 * @return Title
51 50
 	 */
Please login to merge, or discard this patch.
tests/phpunit/Unit/PropertyRegistryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SIL\Tests;
4 4
 
5 5
 use SIL\PropertyRegistry;
6
-
7 6
 use SMW\DIProperty;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.