Skip to content

Commit

Permalink
Merge branch 'release/0.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
tidal committed Oct 2, 2016
2 parents 3925f18 + 5075ed0 commit 9049914
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 42 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

### [0.6.2] - 2016-10-02

* maintenance

### [0.6.1] - 2016-10-02

* maintenance
Expand Down
6 changes: 3 additions & 3 deletions src/Tidal/WampWatch/Adapter/React/PromiseAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ public function otherwise(callable $onRejected)
}

/**
* @param callable $onFulfilledOrRejected
* @param callable $onAlways
*
* @return self
*/
public function always(callable $onFulfilledOrRejected)
public function always(callable $onAlways)
{
$this->adaptee->always($onFulfilledOrRejected);
$this->adaptee->always($onAlways);

return $this;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Tidal/WampWatch/Async/PromiseInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ public function done(callable $onFulfilled = null, callable $onRejected = null,
public function otherwise(callable $onRejected);

/**
* @param callable $onFulfilledOrRejected
* @param callable $onAlways
*
* @return PromiseInterface
*/
public function always(callable $onFulfilledOrRejected);
public function always(callable $onAlways);

/**
* @param callable $onProgress
Expand Down
37 changes: 0 additions & 37 deletions src/Tidal/WampWatch/Contract/Async/PromiseInterface.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ private function getProcedures()
return $this->getCollection(static::$proceduresPropertyName);
}

/**
* @param string $name
*
* @return ObjectCollectionInterface
*/
abstract protected function getCollection($name);

public function hasProcedure($uri)
{
return $this->getProcedures()->has($uri);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ private function getRealms()
return $this->getCollection($this->realmsPropertyName);
}

/**
* @param string $name
*
* @return ObjectCollectionInterface
*/
abstract protected function getCollection($name);

public function hasRealm($name)
{
return $this->getRealms()->has($name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ private function getTopics()
return $this->getCollection($this->topicsPropertyName);
}

/**
* @param string $name
*
* @return ObjectCollectionInterface
*/
abstract protected function getCollection($name);

public function hasTopic($uri)
{
return $this->getTopics()->has($uri);
Expand Down

0 comments on commit 9049914

Please sign in to comment.