fix clone

This commit is contained in:
salam committed 2026-09-17 08:35:36 +02:00
1 parent 82ee9d2dcf
commit 9a5ad32315
33 files changed
+654 -496

No files matched your search

+10 -1
View File
@@ -4,6 +4,15 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property int $projekte_id
* @property int $projekt_objekte_id
* @property int $cloned_from_id
* @property int $added_manuel
* @property string $code
* @property string $name
*/
class ProjektMerkmale extends Model
{
protected $fillable = [
@@ -14,7 +23,7 @@ class ProjektMerkmale extends Model
'name',
];
public static function getfreecode($projekte_id)
public static function getfreecode(int $projekte_id)
{
$possible = range('a', 'j');