Fixed code style.

This commit is contained in:
Jan Böhmer 2020-08-21 21:36:22 +02:00
parent 2853e471c4
commit d0b1024d80
212 changed files with 495 additions and 1005 deletions

View file

@ -127,8 +127,6 @@ class EntityURLGenerator
/**
* Gets the URL to view the given element at a given timestamp.
*
* @return string
*/
public function timeTravelURL(AbstractDBElement $entity, \DateTime $dateTime): string
{
@ -398,7 +396,7 @@ class EntityURLGenerator
$class = get_class($entity);
//Check if we have an direct mapping for the given class
if (! array_key_exists($class, $map)) {
if (!array_key_exists($class, $map)) {
//Check if we need to check inheritance by looping through our map
foreach (array_keys($map) as $key) {
if (is_a($entity, $key)) {