Browse code

Do not use type hint mixed since we need to be PHP 7.4 compatible

Benjamin Roth authored on06/02/2023 17:57:43
Showing1 changed files
... ...
@@ -47,7 +47,7 @@ class StelleModel
47 47
         }
48 48
     }
49 49
 
50
-    public function get(string $name): mixed
50
+    public function get(string $name)
51 51
     {
52 52
         if (isset($this->arrData[$name]))
53 53
         {
... ...
@@ -57,7 +57,7 @@ class StelleModel
57 57
         return null;
58 58
     }
59 59
 
60
-    public function set(string $name, mixed $value): void
60
+    public function set(string $name, $value): void
61 61
     {
62 62
         $this->arrData[$name] = $value;
63 63
     }