mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-02 22:44:33 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -48,7 +48,7 @@ use SebastianBergmann\CodeCoverage\Report\Text;
|
|||
|
||||
class BBCodeToMarkdownConverter
|
||||
{
|
||||
protected $html_to_markdown;
|
||||
protected HtmlConverter $html_to_markdown;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
|
|
@ -54,7 +54,7 @@ use Doctrine\DBAL\Types\DateTimeType;
|
|||
*/
|
||||
class UTCDateTimeType extends DateTimeType
|
||||
{
|
||||
private static $utc_timezone;
|
||||
private static ?DateTimeZone $utc_timezone = null;
|
||||
|
||||
public function convertToDatabaseValue($value, AbstractPlatform $platform): ?string
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue