Test Failed
Push — master ( 147d4d...670e11 )
by Alain
03:28
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, -3 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
      * @throws FailedToInstantiateView If the view could not be instantiated.
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      *
200 200
      * @since 0.1.0
201 201
      *
202
-     * @param array $criteria Criteria to match.
202
+     * @param string[] $criteria Criteria to match.
203 203
      *
204 204
      * @return string|false URI of the requested view, or false if not found.
205 205
      */
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      *
282 282
      * @since 0.2.0
283 283
      *
284
-     * @param ConfigInterface|array $config Config to merge with defaults.
284
+     * @param null|ConfigInterface $config Config to merge with defaults.
285 285
      *
286 286
      * @return ConfigInterface Configuration passed in through the constructor.
287 287
      */
Please login to merge, or discard this patch.
src/View/Engine/NullEngine.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * @param string $uri     URI to render.
47 47
      * @param array  $context Context in which to render.
48 48
      *
49
-     * @return callable Rendering callback.
49
+     * @return \Closure Rendering callback.
50 50
      */
51 51
     public function getRenderCallback(string $uri, array $context = []): callable
52 52
     {
Please login to merge, or discard this patch.