Passed
Pull Request — master (#62)
by Timo
02:32
created
src/Tidal/WampWatch/Model/Behavior/Property/HasCollectionsTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         return $this->{$name};
45 45
     }
46 46
 
47
+    /**
48
+     * @param string $name
49
+     */
47 50
     private function hasCollection($name)
48 51
     {
49 52
         return property_exists($this, $name) && is_a($this->{$name}, CollectionInterface::class);
Please login to merge, or discard this patch.
src/Tidal/WampWatch/MonitorTrait.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,6 +152,9 @@  discard block
 block discarded – undo
152 152
             : $this->metaSubscriptionCollection = new SubscriptionCollection($this->session);
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $procedure
157
+     */
155 158
     protected function setInitialCall($procedure, callable $callback)
156 159
     {
157 160
         $this->initialCallProcedure = (string) $procedure;
@@ -191,6 +194,9 @@  discard block
 block discarded – undo
191 194
         };
192 195
     }
193 196
 
197
+    /**
198
+     * @param string $procedure
199
+     */
194 200
     private function retrieveCallData($procedure, callable $filter = null, $arguments = [])
195 201
     {
196 202
         $deferred = $this->createDeferred();
@@ -201,6 +207,10 @@  discard block
 block discarded – undo
201 207
 
202 208
         $this->session->call($procedure, $arguments)
203 209
             ->then(
210
+
211
+                /**
212
+                 * @param string $res
213
+                 */
204 214
                 function ($res) use ($deferred, $filter) {
205 215
                     $deferred->resolve($filter($res));
206 216
                 },
@@ -211,7 +221,7 @@  discard block
 block discarded – undo
211 221
     }
212 222
 
213 223
     /**
214
-     * @param $event
224
+     * @param string $event
215 225
      *
216 226
      * @return \Closure
217 227
      */
Please login to merge, or discard this patch.