1
0
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:
Marc Alexander
2023-12-30 17:41:12 +01:00
parent c6c299eea4
commit 661a8a6117
42 changed files with 107 additions and 80 deletions

View File

@@ -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;