Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -34,10 +34,6 @@ class ChartJsGenerator implements GeneratorInterface
* Expects data as:.
*
* key => [value => x, 'currency_symbol' => 'x']
*
* @param array $data
*
* @return array
*/
public function multiCurrencyPieChart(array $data): array
{
@@ -99,10 +95,6 @@ class ChartJsGenerator implements GeneratorInterface
* ]
*
* // it's five.
*
* @param array $data
*
* @return array
*/
public function multiSet(array $data): array
{
@@ -148,10 +140,6 @@ class ChartJsGenerator implements GeneratorInterface
* Expects data as:.
*
* key => value
*
* @param array $data
*
* @return array
*/
public function pieChart(array $data): array
{
@@ -189,11 +177,6 @@ class ChartJsGenerator implements GeneratorInterface
* Will generate a (ChartJS) compatible array from the given input. Expects this format:.
*
* 'label-of-entry' => value
*
* @param string $setLabel
* @param array $data
*
* @return array
*/
public function singleSet(string $setLabel, array $data): array
{

View File

@@ -28,11 +28,6 @@ namespace FireflyIII\Generator\Chart\Basic;
*/
interface GeneratorInterface
{
/**
* @param array $data
*
* @return array
*/
public function multiCurrencyPieChart(array $data): array;
/**
@@ -62,10 +57,6 @@ interface GeneratorInterface
* ]
*
* // it's five.
*
* @param array $data
*
* @return array
*/
public function multiSet(array $data): array;
@@ -73,10 +64,6 @@ interface GeneratorInterface
* Expects data as:.
*
* key => value
*
* @param array $data
*
* @return array
*/
public function pieChart(array $data): array;
@@ -84,11 +71,6 @@ interface GeneratorInterface
* Will generate a (ChartJS) compatible array from the given input. Expects this format:.
*
* 'label-of-entry' => value
*
* @param string $setLabel
* @param array $data
*
* @return array
*/
public function singleSet(string $setLabel, array $data): array;
}