Completed
Push — oldjunk ( 6d7aaf...37c282 )
by Jeroen De
02:36
created
src/Semantic/DataValues/CoordinateValue.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
 	/**
65 65
 	 * @see SMWDataValue::parseUserValue
66
+	 * @param string $value
66 67
 	 */
67 68
 	protected function parseUserValue( $value ) {
68 69
 		if ( !is_string( $value ) ) {
@@ -112,6 +113,9 @@  discard block
 block discarded – undo
112 113
 		}
113 114
 	}
114 115
 
116
+	/**
117
+	 * @return string
118
+	 */
115 119
 	private function parserDistance( $distance ) {
116 120
 		if ( $distance !== false ) {
117 121
 			$distance = substr( trim( $distance ), 0, -1 );
Please login to merge, or discard this patch.
includes/Maps_Mapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	/**
69 69
 	 * This function returns the definitions for the parameters used by every map feature.
70 70
 	 *
71
-	 * @return array
71
+	 * @return ParamProcessor\IParamDefinition[]
72 72
 	 */
73 73
 	public static function getCommonParameters() {
74 74
 		$params = [];
Please login to merge, or discard this patch.
includes/Maps_MappingService.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
 	/**
57 57
 	 * @param string $serviceName
58
-	 * @param array $aliases
58
+	 * @param string[] $aliases
59 59
 	 */
60 60
 	public function __construct( $serviceName, array $aliases = [] ) {
61 61
 		$this->serviceName = $serviceName;
@@ -180,6 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
 	/**
182 182
 	 * @since 0.6.3
183
+	 * @param string $alias
183 184
 	 */
184 185
 	public function hasAlias( $alias ) {
185 186
 		return in_array( $alias, $this->aliases );
@@ -190,7 +191,7 @@  discard block
 block discarded – undo
190 191
 	 *
191 192
 	 * @since 0.7.3
192 193
 	 *
193
-	 * @param mixed $modules Array of string or string
194
+	 * @param string[] $modules Array of string or string
194 195
 	 */
195 196
 	public function addResourceModules( $modules ) {
196 197
 		$this->resourceModules = array_merge( $this->resourceModules, (array)$modules );
Please login to merge, or discard this patch.
Maps.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,9 +21,6 @@
 block discarded – undo
21 21
 use Maps\RectangleParser;
22 22
 use Maps\SemanticMaps;
23 23
 use Maps\WmsOverlayParser;
24
-use ParserHooks\FunctionRunner;
25
-use ParserHooks\HookRegistrant;
26
-use ParserHooks\HookRunner;
27 24
 
28 25
 if ( defined( 'Maps_COORDS_FLOAT' ) ) {
29 26
 	// Do not initialize more than once.
Please login to merge, or discard this patch.