Skip to content

Commit 5c84017

Browse files
committed
Compat
1 parent 27ae99f commit 5c84017

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Configuration/ThemeManifestConfiguration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class ThemeManifestConfiguration implements ConfigurationInterface
2020
{
21-
public function getConfigTreeBuilder()
21+
public function getConfigTreeBuilder(): TreeBuilder
2222
{
2323
$treeBuilder = new TreeBuilder('manifest');
2424
$treeBuilder->getRootNode()

src/Configuration/YamlLoader.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
class YamlLoader extends Loader
1919
{
20-
public function load($resource, $type = null)
20+
public function load($resource, $type = null): mixed
2121
{
2222
return Yaml::parse(file_get_contents($resource));
2323
}
2424

25-
public function supports($resource, $type = null)
25+
public function supports($resource, $type = null): bool
2626
{
2727
return \is_string($resource) && \in_array(pathinfo($resource, \PATHINFO_EXTENSION), ['yaml', 'yml'], true);
2828
}

0 commit comments

Comments
 (0)