Apply php-cs-fixer changes

This commit is contained in:
trizz
2021-12-09 22:25:59 +00:00
committed by GitHub Actions
parent a4bbfbb9a4
commit d24a3956ee
7 changed files with 37 additions and 40 deletions

View File

@ -3,9 +3,6 @@
namespace trizz\AdventOfCode;
use JetBrains\PhpStorm\ArrayShape;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
abstract class Solution
{
@ -93,7 +90,7 @@ abstract class Solution
return !empty($this->exampleData);
}
#[ArrayShape(['part1' => "int|string", 'part2' => "int|string"])]
#[ArrayShape(['part1' => 'int|string', 'part2' => 'int|string'])]
public function results(bool $useExampleData = true): array
{
$data = $useExampleData ? $this->exampleData : $this->data;