Skip to content

Commit 829211c

Browse files
committed
Declare strict and loosend params for MslsJson
1 parent affebc8 commit 829211c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/MslsJson.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class MslsJson {
2323
/** MslsLanguageArray
2424
* Adds a value label pair to the internal class container
2525
*
26-
* @param ?int $value
27-
* @param string $label
26+
* @param mixed $value
27+
* @param mixed $label
2828
*
2929
* @return MslsJson
3030
*/
31-
public function add( ?int $value, string $label ) {
31+
public function add( $value, $label ) {
3232
$this->arr[] = [
3333
'value' => intval( $value ),
3434
'label' => strval( $label ),

0 commit comments

Comments
 (0)