Fix PHP 8.4 deprecation warnings

"Implicitly marking parameter $var as nullable is deprecated, the explicit nullable type must be used instead"
This commit is contained in:
slawkens
2025-05-09 13:45:46 +02:00
parent 03e2752139
commit 4ca58b4178
3 changed files with 6 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ class OTS_GuildRank extends OTS_Row_DAO implements IteratorAggregate, Countable
* @throws PDOException On PDO operation error.
* @throws E_OTS_NotLoaded If given <var>$guild</var> object is not loaded.
*/
public function find($name, OTS_Guild $guild = null)
public function find($name, ?OTS_Guild $guild = null)
{
$where = '';