diff --git a/src/Controller/MoodController/MoodController.php b/src/Controller/MoodController/MoodController.php index 90a6394..fc4eb1e 100644 --- a/src/Controller/MoodController/MoodController.php +++ b/src/Controller/MoodController/MoodController.php @@ -7,7 +7,7 @@ declare(strict_types=1); $view = new MoodView(); - $moodPicker = $view->render_mood_picker(self::getEmojisWithLabels(), $app['user']->mood); + $moodPicker = $view->renderMoodPicker(self::getEmojisWithLabels(), $app['user']->mood); $vars = [ 'config' => $app['config'], diff --git a/src/View/MoodView/MoodView.php b/src/View/MoodView/MoodView.php index 3e5b13f..68b6b93 100644 --- a/src/View/MoodView/MoodView.php +++ b/src/View/MoodView/MoodView.php @@ -2,7 +2,7 @@ declare(strict_types=1); class MoodView { - private function render_emoji_groups(array $emojiGroups, string $currentMood): string { + private function renderEmojiGroups(array $emojiGroups, string $currentMood): string { $selected_emoji = $currentMood; //user->mood; ob_start(); @@ -29,12 +29,12 @@ class MoodView { return ob_get_clean(); } - function render_mood_picker(array $emojiGroups, string $currentMood): string { + function renderMoodPicker(array $emojiGroups, string $currentMood): string { ob_start(); ?>