Use self where possible

This commit is contained in:
2023-08-23 22:15:43 -04:00
parent 9491359b52
commit fa281124bb
5 changed files with 50 additions and 50 deletions

View File

@@ -21,10 +21,10 @@ class Configuration
*/
public static function getConn(): \PDO
{
if (is_null(Configuration::$conn)) {
Configuration::$conn = new \PDO(Configuration::$connectionString);
if (is_null(self::$conn)) {
self::$conn = new \PDO(self::$connectionString);
}
return Configuration::$conn;
return self::$conn;
}
}