mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/17281] Update psalm config and fix issues
PHPBB3-17281
This commit is contained in:
@@ -60,10 +60,10 @@ class context
|
||||
* Value can be a string, an integer or a boolean.
|
||||
*
|
||||
* @param string $varname Variable name
|
||||
* @param string $varval Value to assign to variable
|
||||
* @param bool|int|string $varval Value to assign to variable
|
||||
* @return true
|
||||
*/
|
||||
public function assign_var($varname, $varval)
|
||||
public function assign_var(string $varname, bool|int|string $varval)
|
||||
{
|
||||
$this->rootref[$varname] = $varval;
|
||||
|
||||
|
Reference in New Issue
Block a user