Completed
Pull Request — 1.x (#76)
by
unknown
04:27 queued 02:38
created
src/Annotator/ExtraPropertyAnnotator.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * @since 1.0
51 51
 	 *
52 52
 	 * @param SemanticData $semanticData
53
-	 * @param Factory $factory
53
+	 * @param Factory $appFactory
54 54
 	 * @param array $configuration
55 55
 	 */
56 56
 	public function __construct( SemanticData $semanticData, AppFactory $appFactory, array $configuration ) {
@@ -137,11 +137,19 @@  discard block
 block discarded – undo
137 137
 		return true;
138 138
 	}
139 139
 
140
+	/**
141
+	 * @param string|null $propertyId
142
+	 */
140 143
 	protected function hasRegisteredPropertyId( $propertyId, $cachedProperties ) {
141 144
 		return ( DIProperty::getPredefinedPropertyTypeId( $propertyId ) === '' ) ||
142 145
 			array_key_exists( $propertyId, $cachedProperties );
143 146
 	}
144 147
 
148
+	/**
149
+	 * @param DIProperty $property
150
+	 *
151
+	 * @return DataItem
152
+	 */
145 153
 	protected function createDataItemById( $externalId, $property ) {
146 154
 
147 155
 		$dataItem = null;
Please login to merge, or discard this patch.