This commit is contained in:
2021-06-29 10:57:39 +08:00
parent a70e080153
commit e4c65484fe
3 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class BaseObject implements Configure
* @return bool
* @throws Exception
*/
public function addError($message, $model = 'app'): bool
public function addError($message, string $model = 'app'): bool
{
if ($message instanceof \Throwable) {
$Throwable = $message;