Completed
Push — master ( 30add5...f043e7 )
by mw
14s
created
src/CacheFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	 *
121 121
 	 * @param integer|string $mediaWikiCacheType
122 122
 	 *
123
-	 * @return Cache
123
+	 * @return null|\Onoi\Cache\Cache
124 124
 	 */
125 125
 	public function newMediaWikiCompositeCache( $mediaWikiCacheType = null ) {
126 126
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	 * @param string|integer|null $cacheType
144 144
 	 * @param integer $cacheLifetime
145 145
 	 *
146
-	 * @return BlobStore
146
+	 * @return \Onoi\BlobStore\BlobStore
147 147
 	 */
148 148
 	public function newBlobStore( $namespace, $cacheType = null, $cacheLifetime = 0 ) {
149 149
 
Please login to merge, or discard this patch.
src/SharedCallbackContainer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
 		$this->registerCallbackHandlersByFactory( $callbackLoader );
30 30
 	}
31 31
 
32
+	/**
33
+	 * @param CallbackLoader $callbackLoader
34
+	 */
32 35
 	private function registerCallbackHandlers( $callbackLoader ) {
33 36
 
34 37
 		$callbackLoader->registerExpectedReturnType( 'Settings', '\SMW\Settings' );
@@ -111,6 +114,9 @@  discard block
 block discarded – undo
111 114
 		} );
112 115
 	}
113 116
 
117
+	/**
118
+	 * @param CallbackLoader $callbackLoader
119
+	 */
114 120
 	private function registerCallbackHandlersByFactory( $callbackLoader ) {
115 121
 
116 122
 		$callbackLoader->registerCallback( 'BlobStore', function( $namespace, $cacheType = null, $ttl = 0 ) use ( $callbackLoader ) {
Please login to merge, or discard this patch.
src/SQLStore/RedirectInfoStore.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -103,6 +103,10 @@  discard block
 block discarded – undo
103 103
 		$this->inMemoryPoolCache->getPoolCacheFor( 'sql.store.redirect.infostore' )->delete( $hash );
104 104
 	}
105 105
 
106
+	/**
107
+	 * @param string $title
108
+	 * @param integer $namespace
109
+	 */
106 110
 	private function select( $title, $namespace ) {
107 111
 
108 112
 		$row = $this->connection->selectRow(
@@ -118,6 +122,11 @@  discard block
 block discarded – undo
118 122
 		return $row !== false && isset( $row->o_id ) ? (int)$row->o_id : 0;
119 123
 	}
120 124
 
125
+	/**
126
+	 * @param integer $id
127
+	 * @param string $title
128
+	 * @param integer $namespace
129
+	 */
121 130
 	private function insert( $id, $title, $namespace ) {
122 131
 
123 132
 		$this->connection->insert(
@@ -130,6 +139,10 @@  discard block
 block discarded – undo
130 139
 		);
131 140
 	}
132 141
 
142
+	/**
143
+	 * @param string $title
144
+	 * @param integer $namespace
145
+	 */
133 146
 	private function delete( $title, $namespace ) {
134 147
 
135 148
 		$this->connection->delete(
Please login to merge, or discard this patch.
src/DataValues/MonolingualTextValue.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,6 @@  discard block
 block discarded – undo
72 72
 	 * @see DataValue::parseUserValue
73 73
 	 * @note called by DataValue::setUserValue
74 74
 	 *
75
-	 * @param string $value
76 75
 	 */
77 76
 	protected function parseUserValue( $userValue ) {
78 77
 
@@ -248,6 +247,7 @@  discard block
 block discarded – undo
248 247
 	/**
249 248
 	 * @since 2.4
250 249
 	 *
250
+	 * @param string $languageCode
251 251
 	 * @return DataValue|null
252 252
 	 */
253 253
 	public function getTextValueByLanguage( $languageCode ) {
@@ -280,6 +280,9 @@  discard block
 block discarded – undo
280 280
 		return $dataValue;
281 281
 	}
282 282
 
283
+	/**
284
+	 * @param string $value
285
+	 */
283 286
 	private function newContainerSemanticData( $value ) {
284 287
 
285 288
 		if ( $this->m_contextPage === null ) {
Please login to merge, or discard this patch.
includes/articlepages/SMW_OrderedListPage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
 	/**
121 121
 	 * @since 2.4
122
+	 * @param string $msgKey
122 123
 	 */
123 124
 	protected function getNavigationLinks( $msgKey, array $diWikiPages, $default = 50 ) {
124 125
 		global $wgRequest;
@@ -178,7 +179,7 @@  discard block
 block discarded – undo
178 179
 	 * If the method returns false, nothing will be printed besides
179 180
 	 * the original article.
180 181
 	 *
181
-	 * @return true
182
+	 * @return boolean
182 183
 	 */
183 184
 	protected function initParameters() {
184 185
 		$this->limit = 20;
Please login to merge, or discard this patch.