|
25 | 25 | assertType('string', $theme->theme_root_uri); |
26 | 26 | assertType('*ERROR*', $theme->unknown_property); |
27 | 27 |
|
28 | | -// WP_Theme::get() |
29 | | -assertType('string', $theme->get('Name')); |
30 | | -assertType('string', $theme->get('ThemeURI')); |
31 | | -assertType('string', $theme->get('Description')); |
32 | | -assertType('string', $theme->get('Author')); |
33 | | -assertType('string', $theme->get('AuthorURI')); |
34 | | -assertType('string', $theme->get('Version')); |
35 | | -assertType('string', $theme->get('Template')); |
36 | | -assertType('string', $theme->get('Status')); |
37 | | -assertType('array<string>', $theme->get('Tags')); |
38 | | -assertType('string', $theme->get('TextDomain')); |
39 | | -assertType('string', $theme->get('DomainPath')); |
40 | | -assertType('string', $theme->get('RequiresWP')); |
41 | | -assertType('string', $theme->get('RequiresPHP')); |
42 | | -assertType('string', $theme->get('UpdateURI')); |
43 | | -assertType('false', $theme->get('NoThemeHeader')); |
44 | | -assertType('array<string>|string|false', $theme->get(Faker::string())); |
45 | | - |
46 | 28 | // WP_Theme::offsetExists() |
47 | 29 | assertType('false', $theme->offsetExists('NoThemeKey')); |
48 | 30 | assertType('true', $theme->offsetExists('Name')); |
|
0 commit comments