Completed
Branch master (282f78)
by Sam
04:54
created
src/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/RecursiveResolver.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -77,15 +77,15 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/StackableResolver.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/JsonResolver.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.