Compare commits

..

No commits in common. "f77c93ad209f38d0686667117ddca66cf2026c60" and "8e0dce3e71c7d7ea32b7bc60f2e8626d8bd0145a" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View File

@ -8,7 +8,7 @@ class Field implements \Notes\Annotation {
public string $name;
public int|string $length;
public int $length;
public int $precision;

View File

@ -144,15 +144,6 @@ class Repository
}
}
public function clone(object|array $entity) : bool
{
foreach(Ulmus::resolveEntity($this->entityClass)->getPrimaryKeyField() as $key => $field) {
unset($entity->$key);
}
return $this->save($entity);
}
public function save(object|array $entity, ? array $fieldsAndValue = null, bool $replace = false) : bool
{
if ( is_array($entity) ) {