Commit ea14ae06 authored by Jean-Baptiste Noblot's avatar Jean-Baptiste Noblot

Fix Sharding/ Docs

parent 5cefa4d9
......@@ -54,7 +54,7 @@ class PoolingShardManager implements ShardManager
}
/**
* @return void
* {@inheritDoc}
*/
public function selectGlobal()
{
......@@ -63,9 +63,7 @@ class PoolingShardManager implements ShardManager
}
/**
* @param string $distributionValue
*
* @return void
* {@inheritDoc}
*/
public function selectShard($distributionValue)
{
......@@ -75,7 +73,7 @@ class PoolingShardManager implements ShardManager
}
/**
* @return string|null
* {@inheritDoc}
*/
public function getCurrentDistributionValue()
{
......@@ -83,7 +81,7 @@ class PoolingShardManager implements ShardManager
}
/**
* @return array
* {@inheritDoc}
*/
public function getShards()
{
......
......@@ -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;
......
......@@ -63,7 +63,7 @@ interface ShardManager
/**
* Gets the distribution value currently used for sharding.
*
* @return string
* @return string|null
*/
function getCurrentDistributionValue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment