@@ -96,6 +96,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -70,8 +70,7 @@ |
||
| 70 | 70 | $dict->disableTypeUsageWatching(); |
| 71 | 71 | } |
| 72 | 72 | return $dict; |
| 73 | - } |
|
| 74 | - else { |
|
| 73 | + } else { |
|
| 75 | 74 | return null; |
| 76 | 75 | } |
| 77 | 76 | } |