mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Change scope of methods, add some notes. Prep for refactoring.
This commit is contained in:
@@ -170,7 +170,7 @@ class JobConfigurationController extends Controller
|
||||
*
|
||||
* @throws FireflyException
|
||||
*/
|
||||
private function makeConfigurator(ImportJob $importJob): JobConfigurationInterface
|
||||
protected function makeConfigurator(ImportJob $importJob): JobConfigurationInterface // make object
|
||||
{
|
||||
$key = sprintf('import.configuration.%s', $importJob->provider);
|
||||
$className = (string)config($key);
|
||||
|
@@ -231,7 +231,7 @@ class JobStatusController extends Controller
|
||||
*
|
||||
* @throws FireflyException
|
||||
*/
|
||||
private function storeTransactions(ImportJob $importJob): void
|
||||
protected function storeTransactions(ImportJob $importJob): void // make object + execute
|
||||
{
|
||||
/** @var ImportArrayStorage $storage */
|
||||
$storage = app(ImportArrayStorage::class);
|
||||
|
Reference in New Issue
Block a user