Code cleanup

This commit is contained in:
James Cole
2019-08-17 10:47:29 +02:00
parent 23479790fe
commit c2296c3ad5
95 changed files with 463 additions and 507 deletions

View File

@@ -46,7 +46,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
* if stage is not "new", then album must be 'station to station'
*
* @return bool
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*/
public function configurationComplete(): bool
{
@@ -70,7 +70,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
*
* @return MessageBag
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*/
public function configureJob(array $data): MessageBag
{
@@ -128,7 +128,7 @@ class FakeJobConfiguration implements JobConfigurationInterface
*
* @return string
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*/
public function getNextView(): string
{

View File

@@ -89,10 +89,10 @@ class FileJobConfiguration implements JobConfigurationInterface
/**
* Returns the view of the next step in the job configuration.
*
* @throws FireflyException
* @return string
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*@throws FireflyException
*/
public function getNextView(): string
{
@@ -132,7 +132,7 @@ class FileJobConfiguration implements JobConfigurationInterface
* @return FileConfigurationInterface
* @throws FireflyException
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*/
private function getConfigurationObject(): FileConfigurationInterface
{

View File

@@ -111,7 +111,7 @@ class SpectreJobConfiguration implements JobConfigurationInterface
* @return SpectreJobConfigurationInterface
* @throws FireflyException
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*/
private function getHandler(): SpectreJobConfigurationInterface
{

View File

@@ -109,7 +109,7 @@ class YnabJobConfiguration implements JobConfigurationInterface
* @return YnabJobConfigurationInterface
* @throws FireflyException
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
*/
private function getHandler(): YnabJobConfigurationInterface
{