diff --git a/lib/Doctrine/DBAL/Sharding/PoolingShardManager.php b/lib/Doctrine/DBAL/Sharding/PoolingShardManager.php index 798e3c49324..7f9a33fc5b2 100644 --- a/lib/Doctrine/DBAL/Sharding/PoolingShardManager.php +++ b/lib/Doctrine/DBAL/Sharding/PoolingShardManager.php @@ -54,7 +54,7 @@ public function __construct(PoolingShardConnection $conn) } /** - * @return void + * {@inheritDoc} */ public function selectGlobal() { @@ -63,9 +63,7 @@ public function selectGlobal() } /** - * @param string $distributionValue - * - * @return void + * {@inheritDoc} */ public function selectShard($distributionValue) { @@ -75,7 +73,7 @@ public function selectShard($distributionValue) } /** - * @return string|null + * {@inheritDoc} */ public function getCurrentDistributionValue() { @@ -83,7 +81,7 @@ public function getCurrentDistributionValue() } /** - * @return array + * {@inheritDoc} */ public function getShards() { diff --git a/lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php b/lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php index 028b50974d8..a860eaa32f2 100644 --- a/lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php +++ b/lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php @@ -19,9 +19,9 @@ namespace Doctrine\DBAL\Sharding\SQLAzure; -use Doctrine\DBAL\Sharding\ShardManager; -use Doctrine\DBAL\Sharding\ShardingException; use Doctrine\DBAL\Connection; +use Doctrine\DBAL\Sharding\ShardingException; +use Doctrine\DBAL\Sharding\ShardManager; use Doctrine\DBAL\Types\Type; /** @@ -57,7 +57,7 @@ class SQLAzureShardManager implements ShardManager private $conn; /** - * @var string + * @var string|null */ private $currentDistributionValue; diff --git a/lib/Doctrine/DBAL/Sharding/ShardManager.php b/lib/Doctrine/DBAL/Sharding/ShardManager.php index b742793b815..98c8351d7c2 100644 --- a/lib/Doctrine/DBAL/Sharding/ShardManager.php +++ b/lib/Doctrine/DBAL/Sharding/ShardManager.php @@ -63,7 +63,7 @@ function selectShard($distributionValue); /** * Gets the distribution value currently used for sharding. * - * @return string + * @return string|null */ function getCurrentDistributionValue();