Browse Source

Merge branch 'develop'

Alan Lam 7 years ago
parent
commit
d8bc1550f0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      engine/model.php

+ 1 - 2
engine/model.php

@@ -40,7 +40,7 @@ abstract class Model {
 	 * @param string $value
 	 * @throws Exception
 	 */
-	public function __set(string $name, string $value): void {
+	public function __set(string $name, $value): void {
 
 		if(in_array($name, static::$object_fields)) {
 			$this->$name = $value;
@@ -554,4 +554,3 @@ abstract class Model {
 	}
 
 }
-