Completed
Push — master ( 49ddd3...7189a8 )
by mw
02:22
created
src/AppFactory.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,6 @@  discard block
 block discarded – undo
107 107
 	 * @since 2.0
108 108
 	 *
109 109
 	 * @param string $key
110
-	 * @param $default $mixed
111 110
 	 *
112 111
 	 * @return mixed|false
113 112
 	 */
@@ -155,7 +154,7 @@  discard block
 block discarded – undo
155 154
 	/**
156 155
 	 * @since 1.3
157 156
 	 *
158
-	 * @param Title $title
157
+	 * @param Title|null $title
159 158
 	 *
160 159
 	 * @return WikiPage
161 160
 	 */
@@ -178,7 +177,7 @@  discard block
 block discarded – undo
178 177
 	/**
179 178
 	 * @since 1.3
180 179
 	 *
181
-	 * @param Title $title
180
+	 * @param Title|null $title
182 181
 	 *
183 182
 	 * @return User
184 183
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Psr\Log\LoggerInterface;
7 7
 use Psr\Log\LoggerAwareInterface;
8 8
 use Onoi\Cache\Cache;
9
-use Onoi\Cache\NullCache;
10 9
 use Title;
11 10
 use WikiPage;
12 11
 use User;
Please login to merge, or discard this patch.
src/PropertyRegistry.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * @since 1.0
36 36
 	 *
37
-	 * @param PropertyRegistry $propertyRegistry
37
+	 * @param BasePropertyRegistry $propertyRegistry
38 38
 	 *
39 39
 	 * @return boolean
40 40
 	 */
@@ -99,6 +99,10 @@  discard block
 block discarded – undo
99 99
 		}
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param BasePropertyRegistry $propertyRegistry
104
+	 * @param PropertyDefinitions $propertyDefinitions
105
+	 */
102 106
 	private function addPropertyDefinition( $propertyRegistry, $propertyDefinitions, $definition, $aliases ) {
103 107
 
104 108
 		$visible = isset( $definition['show'] ) ? $definition['show'] : false;
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace SESP;
4 4
 
5 5
 use SMW\PropertyRegistry as BasePropertyRegistry;
6
-use SMW\DataTypeRegistry;
7
-use SMW\DIProperty;
8
-use SMWDataItem as DataItem;
9 6
 
10 7
 /**
11 8
  * @ingroup SESP
Please login to merge, or discard this patch.