mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Fixed some inspection issues.
This commit is contained in:
parent
eef26f7ae6
commit
639829f5c5
97 changed files with 305 additions and 185 deletions
|
@ -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!';
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue