File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ class Layouts extends BaseConfig
88{
99 /**
1010 * The default layout to use.
11- *
12- * @var string
1311 */
14- public $ default = 'Tatter\Layouts\Views\Layouts\Default ' ;
12+ public string $ default = 'Tatter\Layouts\Views\Layouts\Default ' ;
1513
1614 /**
1715 * Provides a fallback to the default layout
Original file line number Diff line number Diff line change 77 */
88final class ConfigTest extends TestCase
99{
10- public function testUsesDefaultAsFallback ()
10+ public function testUsesDefaultAsFallback (): void
1111 {
1212 $ result = config ('Layouts ' )->banana ;
1313
1414 $ this ->assertSame ('Tatter\Layouts\Views\Layouts\Default ' , $ result );
1515 }
1616
17- public function testSupportsRegistrars ()
17+ public function testSupportsRegistrars (): void
1818 {
1919 $ result = config ('Layouts ' )->foo ;
2020
You can’t perform that action at this time.
0 commit comments