Update PropertiesBase to new patterns and improve static analysis checks

This commit is contained in:
Alex Cabal 2022-06-30 13:23:05 -05:00
parent 5f0b57f7e9
commit 6c8414f844
33 changed files with 335 additions and 148 deletions

View file

@ -72,6 +72,9 @@ class DbConnection{
// array $params = an array of parameters to bind to the SQL statement
// Returns: a resource record or null on error
/**
* @param string $sql
* @param array<mixed> $params
* @param string $class
* @return Array<mixed>
*/
public function Query(string $sql, array $params = [], string $class = 'stdClass'): array{