Passed
Push — master ( 384427...1a0f46 )
by Dmitry
02:34
created
src/ApiLayer/JsonRpcExtensions/Documentation/MetadataExtractor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @param MethodCollection $methodCollection
28 28
      *
29
-     * @return array
29
+     * @return string
30 30
      */
31 31
     public function extract(MethodCollection $methodCollection)
32 32
     {
Please login to merge, or discard this patch.
src/Reflection/TypeResolver.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
         return $type . ($isCollection ? '[]' : '');
54 54
     }
55 55
 
56
+    /**
57
+     * @param string $type
58
+     */
56 59
     private function isTypeObject($type)
57 60
     {
58 61
         switch (strtolower($type)) {
@@ -77,6 +80,9 @@  discard block
 block discarded – undo
77 80
         }
78 81
     }
79 82
 
83
+    /**
84
+     * @param string $type
85
+     */
80 86
     private function resolveClassName($type, \ReflectionClass $usingClass)
81 87
     {
82 88
         if (strpos($type, '\\') === 0 && class_exists($type)) {
Please login to merge, or discard this patch.