Skip to content

Commit 0c12c02

Browse files
committed
PHP 8.1 support
1 parent ebc3e11 commit 0c12c02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/ResponseTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ public function test_server_response_with_deferred_prop_and_multiple_groups(): v
141141
$this->assertSame('<div id="app" data-page="{&quot;component&quot;:&quot;User\/Edit&quot;,&quot;props&quot;:{&quot;user&quot;:{&quot;name&quot;:&quot;Jonathan&quot;}},&quot;url&quot;:&quot;\/user\/123&quot;,&quot;version&quot;:&quot;123&quot;,&quot;clearHistory&quot;:false,&quot;encryptHistory&quot;:false,&quot;deferredProps&quot;:{&quot;default&quot;:[&quot;foo&quot;,&quot;bar&quot;],&quot;custom&quot;:[&quot;baz&quot;]}}"></div>', $view->render());
142142
}
143143

144+
/**
145+
* @return array<string, array{0: bool}>
146+
*/
144147
public static function resetUsersProp(): array
145148
{
146149
return [
@@ -168,7 +171,7 @@ public function getPageName(): string
168171
return 'page';
169172
}
170173

171-
public function getPreviousPage(): null
174+
public function getPreviousPage(): ?int
172175
{
173176
return null;
174177
}

0 commit comments

Comments
 (0)