summaryrefslogtreecommitdiff
path: root/src/Controllers/EntriesController.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-03-06 11:45:31 +0100
committerDaniel Weipert <code@drogueronin.de>2022-03-06 11:45:31 +0100
commit1334236bb6059b2302a760196ce7885df379e984 (patch)
treef86e883e6ae9510454307f38be3ffd20aefa6c4c /src/Controllers/EntriesController.php
parentad83d1dafac62bb28fda004f86129319a5c3e2ca (diff)
toml to yaml
Diffstat (limited to 'src/Controllers/EntriesController.php')
-rw-r--r--src/Controllers/EntriesController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Controllers/EntriesController.php b/src/Controllers/EntriesController.php
index 801fe7b..f45866a 100644
--- a/src/Controllers/EntriesController.php
+++ b/src/Controllers/EntriesController.php
@@ -2,7 +2,7 @@
namespace FlatFileForms\Controllers;
-use Yosymfony\Toml\Toml;
+use Symfony\Component\Yaml\Yaml;
class EntriesController
{
@@ -65,7 +65,7 @@ class EntriesController
$entriesForDay = $utilities->scandir($dayPath);
foreach ($entriesForDay as $entryForDay) {
- $entry = Toml::parseFile($entryForDay);
+ $entry = Yaml::parseFile($entryForDay);
if (isset($_GET['flat'])) {
$entries[] = $entry;
} else {