Completed
Push — develop ( fbdd82...317691 )
by Mike
09:29
created
tests/ReferenceImplementation.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -174,6 +174,9 @@  discard block
 block discarded – undo
174 174
     {
175 175
         const INTERFACE_CONSTANT = 'test';
176 176
 
177
+        /**
178
+         * @return SubInterface|null
179
+         */
177 180
         public function publicMethod();
178 181
     }
179 182
 
@@ -183,6 +186,10 @@  discard block
 block discarded – undo
183 186
      */
184 187
     interface AnotherSuperInterface
185 188
     {
189
+
190
+        /**
191
+         * @return void
192
+         */
186 193
         static public function staticMethod();
187 194
     }
188 195
 }
Please login to merge, or discard this patch.
src/Application/Application.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     // TODO: Change this; plugins are not read from a config file provided on runtime
63
+
64
+    /**
65
+     * @param \DI\Container $container
66
+     */
63 67
     private function registerPlugins($container)
64 68
     {
65 69
         //TODO: refactor this method. Previously config was used here.
Please login to merge, or discard this patch.
src/DomainModel/Dsn.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     /**
118 118
      * Returns the path part of the DSN
119 119
      *
120
-     * @return string
120
+     * @return Path
121 121
      */
122 122
     public function getPath()
123 123
     {
Please login to merge, or discard this patch.
src/Infrastructure/Reflection/Middleware/CacheMiddleware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@
 block discarded – undo
81 81
      * Convert path to ItemName
82 82
      *
83 83
      * @param path
84
+     * @param string $path
84 85
      * @return string
85 86
      */
86 87
     private function getItemName($path)
Please login to merge, or discard this patch.
src/Application/Renderer/TwigRenderer/Extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      * See the Class' DocBlock for a listing of functionality added by this
104 104
      * Extension.
105 105
      *
106
-     * @return \Twig_FunctionInterface[]
106
+     * @return \Twig_SimpleFunction[]
107 107
      */
108 108
     public function getFunctions()
109 109
     {
Please login to merge, or discard this patch.
src/Application/Renderer/XslRenderer.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     }
228 228
 
229 229
     /**
230
-     * @param $structureFilename
230
+     * @param string $structureFilename
231 231
      * @return \DOMDocument
232 232
      */
233 233
     private function loadAst($structureFilename)
@@ -268,9 +268,9 @@  discard block
 block discarded – undo
268 268
     }
269 269
 
270 270
     /**
271
-     * @param $filename
271
+     * @param string|null $filename
272 272
      * @param $proc
273
-     * @param $structure
273
+     * @param \DOMDocument $structure
274 274
      */
275 275
     private function writeToFile($filename, $proc, $structure)
276 276
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     /**
293 293
      * @param ProjectInterface $project
294 294
      * @param $element
295
-     * @return false|string
295
+     * @return string
296 296
      */
297 297
     private function generateUrlForXmlElement(ProjectInterface $project, $element)
298 298
     {
Please login to merge, or discard this patch.
src/DomainModel/Renderer/Router/Renderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -198,6 +198,9 @@
 block discarded – undo
198 198
         return $collection;
199 199
     }
200 200
 
201
+    /**
202
+     * @param string $presentation
203
+     */
201 204
     protected function renderLink($path, $presentation)
202 205
     {
203 206
         $url  = false;
Please login to merge, or discard this patch.
tests/unit/DomainModel/Parser/Documentation/Api/ApiTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @param Fqsen $fqsen
91 91
      *
92
-     * @return m\MockInterface|Element
92
+     * @return m\MockInterface
93 93
      */
94 94
     private function givenAnElementWithFqsen($fqsen)
95 95
     {
Please login to merge, or discard this patch.
tests/unit/DomainModel/Renderer/Router/QueueTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * @param string $nodeName
67 67
      * @param mixed  $returns
68 68
      *
69
-     * @return m\MockInterface|RouterAbstract
69
+     * @return m\MockInterface
70 70
      */
71 71
     protected function givenARouterMatchingNodeWithResult($nodeName, $returns)
72 72
     {
Please login to merge, or discard this patch.