aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis von Glasow <ashgenesis@gmail.com>2017-01-09 21:36:58 +0100
committerAlexis von Glasow <ashgenesis@gmail.com>2017-01-09 21:36:58 +0100
commit4fb297db94b0a3a59ca80f24fc00ffe280db2399 (patch)
treefdcc752f8651de6a6c1ec8babf4ae53a48c6516a
parentb485b9d9f8a44e102a5b1ff5d642db128d6ac036 (diff)
downloadDns-4fb297db94b0a3a59ca80f24fc00ffe280db2399.zip
Dns-4fb297db94b0a3a59ca80f24fc00ffe280db2399.tar.gz
Dns-4fb297db94b0a3a59ca80f24fc00ffe280db2399.tar.bz2
Quality: Happy new year!
-rw-r--r--Bin/Resolve.php5
-rw-r--r--Exception.php4
-rw-r--r--Resolver.php5
3 files changed, 6 insertions, 8 deletions
diff --git a/Bin/Resolve.php b/Bin/Resolve.php
index 4579ad7..e58a626 100644
--- a/Bin/Resolve.php
+++ b/Bin/Resolve.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2016, Hoa community. All rights reserved.
+ * Copyright © 2007-2017, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -46,7 +46,7 @@ use Hoa\Socket;
*
* Quick DNS resolver.
*
- * @copyright Copyright © 2007-2016 Hoa community
+ * @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Resolve extends Console\Dispatcher\Kit
@@ -120,7 +120,6 @@ class Resolve extends Console\Dispatcher\Kit
$dns = new Dns\Resolver(new Socket\Server('udp://' . $listen));
$dns->on('query', function (Event\Bucket $bucket) use (&$redirections) {
-
$data = $bucket->getData();
echo
'Resolving domain ', $data['domain'],
diff --git a/Exception.php b/Exception.php
index 132eb4d..68f25c1 100644
--- a/Exception.php
+++ b/Exception.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2016, Hoa community. All rights reserved.
+ * Copyright © 2007-2017, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Exception as HoaException;
*
* Extending the \Hoa\Exception\Exception class.
*
- * @copyright Copyright © 2007-2016 Hoa community
+ * @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Exception extends HoaException
diff --git a/Resolver.php b/Resolver.php
index edd49e3..02c0367 100644
--- a/Resolver.php
+++ b/Resolver.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2016, Hoa community. All rights reserved.
+ * Copyright © 2007-2017, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,7 +45,7 @@ use Hoa\Socket;
* Provide a DNS resolution server.
* Please, see RFC6195, RFC1035 and RFC1034 for an overview.
*
- * @copyright Copyright © 2007-2016 Hoa community
+ * @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Resolver implements Event\Listenable
@@ -153,7 +153,6 @@ class Resolver implements Event\Listenable
* Construct the DNS server.
*
* @param \Hoa\Socket\Server $server Server.
- * @return void
*/
public function __construct(Socket\Server $server)
{