Completed
Push — master ( 1e0afe...d2abbb )
by Ondřej
03:12
created
src/Ivory/Connection/IConnectionControl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -96,6 +96,7 @@  discard block
 block discarded – undo
96 96
      * {@link connectWait()}, the hooks are *not* called.
97 97
      *
98 98
      * @param \Closure $closure closure to call, given no arguments
99
+     * @return void
99 100
      */
100 101
     function registerConnectStartHook(\Closure $closure);
101 102
 
@@ -108,6 +109,7 @@  discard block
 block discarded – undo
108 109
      * method, or when the connection gets destroyed before freeing from memory.
109 110
      *
110 111
      * @param \Closure $closure closure to call, given no arguments
112
+     * @return void
111 113
      */
112 114
     function registerPreDisconnectHook(\Closure $closure);
113 115
 
@@ -120,6 +122,7 @@  discard block
 block discarded – undo
120 122
      * method, or when the connection gets destroyed before freeing from memory.
121 123
      *
122 124
      * @param \Closure $closure closure to call, given no arguments
125
+     * @return void
123 126
      */
124 127
     function registerPostDisconnectHook(\Closure $closure);
125 128
 }
Please login to merge, or discard this patch.
src/Ivory/Connection/TypeControl.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
                 $dict->disableTypeUsageWatching();
71 71
             }
72 72
             return $dict;
73
-        }
74
-        else {
73
+        } else {
75 74
             return null;
76 75
         }
77 76
     }
Please login to merge, or discard this patch.