Test Failed
Push — master ( d80a49...911abc )
by Alain
03:26
created
src/View/Engine/PHPEngine.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      * @param string $uri     URI to render.
52 52
      * @param array  $context Context in which to render.
53 53
      *
54
-     * @return callable Rendering callback.
54
+     * @return \Closure Rendering callback.
55 55
      * @throws FailedToLoadView If the View URI is not accessible or readable.
56 56
      * @throws FailedToLoadView If the View URI could not be loaded.
57 57
      */
Please login to merge, or discard this patch.
src/View/ViewBuilder.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      * @since 0.1.0
95 95
      *
96 96
      * @param string $view View identifier to create a view for.
97
-     * @param mixed  $type Type of view to create.
97
+     * @param string|null  $type Type of view to create.
98 98
      *
99 99
      * @return View Instance of the requested view.
100 100
      */
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      *
196 196
      * @since 0.1.0
197 197
      *
198
-     * @param array $criteria Criteria to match.
198
+     * @param string[] $criteria Criteria to match.
199 199
      *
200 200
      * @return string|false URI of the requested view, or false if not found.
201 201
      */
@@ -277,6 +277,7 @@  discard block
 block discarded – undo
277 277
      *
278 278
      * @since 0.2.0
279 279
      *
280
+     * @param ConfigInterface $config
280 281
      * @return ConfigInterface Configuration passed in through the constructor.
281 282
      */
282 283
     protected function getConfig($config = null)
Please login to merge, or discard this patch.