Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2022-08-14 19:32:53 +02:00
parent eef26f7ae6
commit 639829f5c5
97 changed files with 305 additions and 185 deletions

View file

@ -42,7 +42,9 @@ declare(strict_types=1);
namespace App\Exceptions;
class LogEntryObsoleteException extends \RuntimeException
use RuntimeException;
class LogEntryObsoleteException extends RuntimeException
{
protected $message = 'This log entry is obsolete and exists only for compatibility reasons with old Part-DB versions. You should not use it!';
}

View file

@ -23,9 +23,10 @@ declare(strict_types=1);
namespace App\Exceptions;
use RuntimeException;
use Twig\Error\Error;
class TwigModeException extends \RuntimeException
class TwigModeException extends RuntimeException
{
public function __construct(?Error $previous = null)
{