fix phpstan (#28606)

This commit is contained in:
Frédéric FRANCE 2024-03-04 18:27:49 +01:00 committed by GitHub
parent 7090af2b51
commit 44ce77dd37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2009-2012 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2009-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -34,11 +35,18 @@
class DolGeoIP
{
/**
* @var GeoIp2\Database\Reader
* @var GeoIp2\Database\Reader|string
*/
public $gi;
/**
* @var string
*/
public $error;
/**
* @var string
*/
public $errorlabel;
/**