Code cleanup.

This commit is contained in:
James Cole
2021-03-28 11:43:07 +02:00
parent 5abbb8a807
commit 2c575f3ca5
379 changed files with 304 additions and 1727 deletions

View File

@@ -19,6 +19,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Support\Binder;
use Illuminate\Routing\Route;
@@ -51,4 +53,4 @@ class DynamicConfigKey
throw new NotFoundHttpException;
}
}
}

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types=1);
/*
* StaticConfigKey.php
* Copyright (c) 2021 james@firefly-iii.org
@@ -20,8 +22,6 @@
*/
namespace FireflyIII\Support\Binder;
use Illuminate\Routing\Route;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
@@ -51,4 +51,4 @@ class EitherConfigKey
}
throw new NotFoundHttpException;
}
}
}

View File

@@ -50,8 +50,6 @@ class TagList implements BinderInterface
->orderBy('tag', 'ASC')
->get();
}
$list = array_unique(array_map('\strtolower', explode(',', $value)));
Log::debug('List of tags is', $list);
// @codeCoverageIgnoreStart