Browse Source

Merge pull request #16510 from cakephp/missing-types

Add types to NegotiationRequiredView
othercorey 3 years ago
parent
commit
c2d9700179
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/NegotiationRequiredView.php

+ 1 - 1
src/View/NegotiationRequiredView.php

@@ -55,7 +55,7 @@ class NegotiationRequiredView extends View
      * @param string|false|null $layout Layout to use. False to disable.
      * @return string Rendered content.
      */
-    public function render(?string $template = null, $layout = null): string
+    public function render(?string $template = null, string|false|null $layout = null): string
     {
         return '';
     }