We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de262de commit 3d7720cCopy full SHA for 3d7720c
src/EntityModel.php
@@ -49,7 +49,7 @@ public function save($entity)
49
$record = get_object_vars($this);
50
})->call($entity);
51
52
- switch($this->getEntityState($entity)) {
+ switch ($this->getEntityState($entity)) {
53
case self::STATE_NEW:
54
$this->insert($record);
55
src/RowsTrait.php
@@ -427,8 +427,9 @@ public function save(array $values = [])
427
}
428
429
/**
430
- * @return $this
431
* @throws SqlException
+ *
432
+ * @return $this
433
*/
434
public function destroy()
435
{
0 commit comments