mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Fix more php 8.4 warnings
This commit is contained in:
@@ -1115,7 +1115,7 @@ class POT
|
|||||||
*
|
*
|
||||||
* @param IOTS_FileCache $cache Cache handler (skip this parameter to reset cache handler to null).
|
* @param IOTS_FileCache $cache Cache handler (skip this parameter to reset cache handler to null).
|
||||||
*/
|
*/
|
||||||
public function setItemsCache(IOTS_FileCache $cache = null)
|
public function setItemsCache(?IOTS_FileCache $cache = null)
|
||||||
{
|
{
|
||||||
$this->itemsCache = $cache;
|
$this->itemsCache = $cache;
|
||||||
}
|
}
|
||||||
@@ -1253,7 +1253,7 @@ class POT
|
|||||||
*
|
*
|
||||||
* @param IOTS_FileCache $cache Cache handler (skip this parameter to reset cache handler to null).
|
* @param IOTS_FileCache $cache Cache handler (skip this parameter to reset cache handler to null).
|
||||||
*/
|
*/
|
||||||
public function setMapCache(IOTS_FileCache $cache = null)
|
public function setMapCache(?IOTS_FileCache $cache = null)
|
||||||
{
|
{
|
||||||
$this->mapCache = $cache;
|
$this->mapCache = $cache;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user