Continue improving type hints

This commit is contained in:
Alex Cabal 2024-05-10 22:28:24 -05:00
parent eb376c87bd
commit 703e1a7a03
73 changed files with 98 additions and 114 deletions

View file

@ -7,12 +7,6 @@ parameters:
ignoreErrors:
# Ignore errors caused by Template static class reflection
- '#Call to an undefined static method Template::[a-zA-Z0-9\\_]+\(\)\.#'
# Ignore errors caused by no type hints on class properties, as that's not available till PHP 7.4
- '#Property .+? has no type specified.#'
# Ignore setters for properties that accept several types
- '#Property Artwork::\$Tags \(array<ArtworkTag>\) does not accept.+#'
level:
8
paths:

View file

@ -1,6 +1,6 @@
CREATE TABLE `PollVotes` (
`UserId` int(10) unsigned NOT NULL,
`PollItemId` int(10) unsigned NOT NULL,
`Created` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`Created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY `idxUnique` (`PollItemId`,`UserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;