Passed
Push — master ( 373a1b...497e2b )
by Alain
02:37
created
src/View/ViewBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @param string          $uri    URI to get a view for.
126 126
      * @param EngineInterface $engine Engine to use for the view.
127
-     * @param mixed           $type   Type of view to get.
127
+     * @param string|null           $type   Type of view to get.
128 128
      *
129 129
      * @return ViewInterface View that matches the given requirements.
130 130
      */
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @since 0.1.0
190 190
      *
191
-     * @param array $criteria Criteria to match.
191
+     * @param string[] $criteria Criteria to match.
192 192
      *
193
-     * @return string|bool URI of the requested view, or false if not found.
193
+     * @return string|false URI of the requested view, or false if not found.
194 194
      */
195 195
     public function scanLocations(array $criteria)
196 196
     {
Please login to merge, or discard this patch.
src/View/View/ViewFinder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $view = $view($uri, $engine);
93 93
         }
94 94
 
95
-        if (! $view instanceof ViewInterface) {
95
+        if ( ! $view instanceof ViewInterface) {
96 96
             throw new FailedToInstantiateViewException(
97 97
                 sprintf(
98 98
                     _('Could not instantiate view "%s".'),
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             $view = $view($uri, $engine);
127 127
         }
128 128
 
129
-        if (! $view instanceof ViewInterface) {
129
+        if ( ! $view instanceof ViewInterface) {
130 130
             throw new FailedToInstantiateViewException(
131 131
                 sprintf(
132 132
                     _('Could not instantiate view "%s".'),
Please login to merge, or discard this patch.