Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #17 from sergeyklay/patch-1
Fixed PHPDoc
  • Loading branch information
pda committed Jun 2, 2016
2 parents 497ba57 + d073357 commit 9c6da38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Flexihash.php
Expand Up @@ -52,7 +52,7 @@ class Flexihash

/**
* Constructor.
* @param Flexihash\Hasher\HasherInterface $hasher
* @param \Flexihash\Hasher\HasherInterface $hasher
* @param int $replicas Amount of positions to hash each target to.
*/
public function __construct(HasherInterface $hasher = null, $replicas = null)
Expand Down Expand Up @@ -111,7 +111,7 @@ public function addTargets($targets, $weight = 1)
*
* @param string $target
* @return self fluent
* @throws Flexihash\Exception when target does not exist
* @throws \Flexihash\Exception when target does not exist
*/
public function removeTarget($target)
{
Expand Down Expand Up @@ -143,7 +143,7 @@ public function getAllTargets()
* Looks up the target for the given resource.
* @param string $resource
* @return string
* @throws Flexihash\Exception when no targets defined
* @throws \Flexihash\Exception when no targets defined
*/
public function lookup($resource)
{
Expand All @@ -162,7 +162,7 @@ public function lookup($resource)
* @param string $resource
* @param int $requestedCount The length of the list to return
* @return array List of targets
* @throws Flexihash\Exception when count is invalid
* @throws \Flexihash\Exception when count is invalid
*/
public function lookupList($resource, $requestedCount)
{
Expand Down

0 comments on commit 9c6da38

Please sign in to comment.