Code cleanup.

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-08-26 09:30:52 +02:00
parent d0c6afc3a9
commit a9444ac702
60 changed files with 165 additions and 568 deletions

View File

@@ -27,6 +27,7 @@ class BillName extends BasicConverter implements ConverterInterface
/**
* @param $value
*
* @return Bill
* @throws FireflyException
*/
public function convert($value)

View File

@@ -313,7 +313,7 @@ class ImportStorage
$meta = new TransactionJournalMeta;
$meta->name = 'originalImportHash';
$meta->data = $entry->hash;
$meta->transactionjournal()->associate($journal);
$meta->transactionJournal()->associate($journal);
$meta->save();
return $journal;

View File

@@ -1,18 +0,0 @@
<?php
/**
* Map.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
declare(strict_types = 1);
namespace FireflyIII\Import\Role;
class Map
{
}

View File

@@ -1,18 +0,0 @@
<?php
/**
* Role.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
declare(strict_types = 1);
namespace FireflyIII\Import\Role;
class Role
{
}

View File

@@ -184,7 +184,9 @@ class CsvSetup implements SetupInterface
}
/**
* @param array $data
* @param array $data
*
* @param FileBag $files
*
* @return bool
*/

View File

@@ -62,7 +62,9 @@ interface SetupInterface
public function requireUserSettings(): bool;
/**
* @param array $data
* @param array $data
*
* @param FileBag $files
*
* @return bool
*/