mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 10:48:13 +00:00
Code cleanup [skip-ci]
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
|
||||
namespace Firefly\Helper\Email;
|
||||
|
||||
interface EmailHelperInterface {
|
||||
interface EmailHelperInterface
|
||||
{
|
||||
|
||||
public function sendVerificationMail(\User $user);
|
||||
|
||||
public function sendPasswordMail(\User $user);
|
||||
|
||||
public function sendResetVerification(\User $user);
|
||||
|
||||
}
|
||||
@@ -192,11 +192,11 @@ class MigrationHelper implements MigrationHelperInterface
|
||||
$journal = $journals->createSimpleJournal($fromAccount, $toAccount, $entry->description, $amount, $date);
|
||||
|
||||
// save budgets and categories, on the journal
|
||||
if(isset($budgets[$entry->id])) {
|
||||
if (isset($budgets[$entry->id])) {
|
||||
$budget = $budgets[$entry->id];
|
||||
$journal->budgets()->save($budget);
|
||||
}
|
||||
if(isset($categories[$entry->id])) {
|
||||
if (isset($categories[$entry->id])) {
|
||||
$category = $categories[$entry->id];
|
||||
$journal->categories()->save($category);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,8 @@ namespace Firefly\Helper\Preferences;
|
||||
interface PreferencesHelperInterface
|
||||
{
|
||||
|
||||
public function set($name,$value);
|
||||
public function get($name,$default = null);
|
||||
public function set($name, $value);
|
||||
|
||||
public function get($name, $default = null);
|
||||
|
||||
}
|
||||
@@ -3,7 +3,8 @@
|
||||
namespace Firefly\Helper\Toolkit;
|
||||
|
||||
|
||||
interface ToolkitInterface {
|
||||
interface ToolkitInterface
|
||||
{
|
||||
public static function getDateRange();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user