@@ -64,7 +64,7 @@ |
||
| 64 | 64 | $loop = \React\EventLoop\Factory::create(); |
| 65 | 65 | $factory = new \React\Datagram\Factory($loop); |
| 66 | 66 | |
| 67 | - $factory->createServer($this->ip.':'.$this->port)->then(function (Socket $server) { |
|
| 67 | + $factory->createServer($this->ip . ':' . $this->port)->then(function(Socket $server) { |
|
| 68 | 68 | $server->on('message', function($message, $address, $server) { |
| 69 | 69 | $response = $this->ds_handle_query($message); |
| 70 | 70 | $server->send($response, $address); |
@@ -77,15 +77,15 @@ |
||
| 77 | 77 | * @return boolean |
| 78 | 78 | */ |
| 79 | 79 | public function allowsRecursion() { |
| 80 | - return $this->recursion_available; |
|
| 80 | + return $this->recursion_available; |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - /** |
|
| 84 | - * Check if the resolver knows about a domain |
|
| 85 | - * |
|
| 86 | - * @param string $domain the domain to check for |
|
| 87 | - * @return boolean true if the resolver holds info about $domain |
|
| 88 | - */ |
|
| 83 | + /** |
|
| 84 | + * Check if the resolver knows about a domain |
|
| 85 | + * |
|
| 86 | + * @param string $domain the domain to check for |
|
| 87 | + * @return boolean true if the resolver holds info about $domain |
|
| 88 | + */ |
|
| 89 | 89 | public function isAuthority($domain) { |
| 90 | 90 | return false; |
| 91 | 91 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | public function allowsRecursion() { |
| 36 | 36 | foreach ($this->resolvers as $resolver) { |
| 37 | 37 | if ($resolver->allowsRecursion()) { |
| 38 | - return true; |
|
| 38 | + return true; |
|
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | } |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | return $this->recursion_available; |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | - /* |
|
| 110 | + /* |
|
| 111 | 111 | * Check if the resolver knows about a domain |
| 112 | 112 | * |
| 113 | 113 | * @param string $domain the domain to check for |