<?php

namespace CalendarReminder;

interface ReminderRepository
{
    /**
     * @param string $date
     * @param string $content
     * @return Reminder
     */
    public function createReminder(string $date, string $content): Reminder;

    /**
     * @param Reminder $reminder
     */
    public function save(Reminder $reminder);
}
<?php

namespace CalendarReminder;

interface ReminderRepository
{
    /**
     * @param string $date
     * @param string $content
     */
    public function createReminder(string $date, string $content);

    /**
     * @param Reminder $reminder
     */
    public function save(Reminder $reminder);
}
Remove return Reminder object from createReminder
Remove return Reminder object from createReminder
