Completed
Push — master ( f59019...093bae )
by Guillaume
04:06
created
src/Breaker.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * @param string                   $name
67 67
      * @param array                    $config
68 68
      * @param Cache                    $store
69
-     * @param Handler                  $handler
69
+     * @param HandlerInterface                  $handler
70 70
      * @param EventDispatcherInterface $dispatcher
71 71
      */
72 72
     public function __construct(
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * addListener.
144 144
      *
145 145
      * @param string         $eventName
146
-     * @param \Closure|array $listener
146
+     * @param \Closure $listener
147 147
      */
148 148
     public function addListener($eventName, $listener)
149 149
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      *
156 156
      * @param Circuit $circuit
157 157
      *
158
-     * @return bool
158
+     * @return boolean|null
159 159
      */
160 160
     protected function isClosed($circuit)
161 161
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      *
174 174
      * @param Circuit $circuit
175 175
      *
176
-     * @return bool
176
+     * @return boolean|null
177 177
      */
178 178
     protected function isOpen($circuit)
179 179
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      *
192 192
      * @param Circuit $circuit
193 193
      *
194
-     * @return bool
194
+     * @return boolean|null
195 195
      */
196 196
     protected function isHalfOpen($circuit)
197 197
     {
Please login to merge, or discard this patch.