jenkins-bot has submitted this change and it was merged.
Change subject: Fix some phpdocs
......................................................................
Fix some phpdocs
Change-Id: I5e624d0f78d45b189f91e622dfe9723a63e2ec12
---
M src/SQLStore/SnakStore/SnakInserter.php
M src/SQLStore/StoreConfig.php
2 files changed, 5 insertions(+), 1 deletion(-)
Approvals:
Tobias Gritschacher: Looks good to me, approved
jenkins-bot: Verified
diff --git a/src/SQLStore/SnakStore/SnakInserter.php
b/src/SQLStore/SnakStore/SnakInserter.php
index 853c9cd..79409c8 100644
--- a/src/SQLStore/SnakStore/SnakInserter.php
+++ b/src/SQLStore/SnakStore/SnakInserter.php
@@ -27,6 +27,7 @@
/**
* @param SnakStore[] $snakStores
+ * @param SnakRowBuilder $snakRowBuilder
*/
public function __construct( array $snakStores, SnakRowBuilder
$snakRowBuilder ) {
$this->snakStores = $snakStores;
diff --git a/src/SQLStore/StoreConfig.php b/src/SQLStore/StoreConfig.php
index 99f924f..b51a65b 100644
--- a/src/SQLStore/StoreConfig.php
+++ b/src/SQLStore/StoreConfig.php
@@ -2,6 +2,7 @@
namespace Wikibase\QueryEngine\SQLStore;
+use Exception;
use Wikibase\Database\TableDefinition;
use Wikibase\QueryEngine\PropertyDataValueTypeLookup;
@@ -71,10 +72,12 @@
/**
* @return PropertyDataValueTypeLookup
+ *
+ * @throws Exception
*/
public function getPropertyDataValueTypeLookup() {
if ( $this->propertyDataValueTypeLookup === null ) {
- throw new \Exception( 'setPropertyDataValueTypeLookup
has not been called yet' );
+ throw new Exception( 'setPropertyDataValueTypeLookup
has not been called yet' );
}
return $this->propertyDataValueTypeLookup;
--
To view, visit https://gerrit.wikimedia.org/r/77252
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5e624d0f78d45b189f91e622dfe9723a63e2ec12
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQueryEngine
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits