aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2012-07-16 14:36:18 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2012-07-16 14:36:18 +0200
commitccf0bf1f7c95ead6da5b702966ca9dc637319938 (patch)
treebc937af598e6471c830ead2e672565af0d01e0a5
parent65ec86fa27a2df815c05b2edff56e52a410d7110 (diff)
downloadDns-ccf0bf1f7c95ead6da5b702966ca9dc637319938.zip
Dns-ccf0bf1f7c95ead6da5b702966ca9dc637319938.tar.gz
Dns-ccf0bf1f7c95ead6da5b702966ca9dc637319938.tar.bz2
Ok, let's clean this crazy callable history :-). No more \XCallable type hint, but remove all $call and $able parameters to replace them by one single $callable paramter.
-rw-r--r--Library/Dns/Dns.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Dns/Dns.php b/Library/Dns/Dns.php
index a8fda63..b0da726 100644
--- a/Library/Dns/Dns.php
+++ b/Library/Dns/Dns.php
@@ -173,12 +173,12 @@ class Dns implements \Hoa\Core\Event\Listenable {
* Attach a callable to this listenable object.
*
* @access public
- * @param string $listenerId Listener ID.
- * @param \XCallable $callable Callable.
+ * @param string $listenerId Listener ID.
+ * @param mixed $callable Callable.
* @return \Hoa\Worker\Backend\Shared
* @throw \Hoa\Core\Exception
*/
- public function on ( $listenerId, \XCallable $callable ) {
+ public function on ( $listenerId, $callable ) {
return $this->_on->attach($listenerId, $callable);
}