mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-25 00:37:35 +08:00
refactor announce
This commit is contained in:
+1
-1
@@ -348,7 +348,7 @@ class User extends Authenticatable
|
||||
public function updateWithModComment(array $update, $modComment)
|
||||
{
|
||||
if (!$this->exists) {
|
||||
throw new \RuntimeException('This mehtod only works when user exists!');
|
||||
throw new \RuntimeException('This method only works when user exists!');
|
||||
}
|
||||
//@todo how to do prepare bindings here ?
|
||||
$modComment = addslashes($modComment);
|
||||
|
||||
Reference in New Issue
Block a user