AH
Если кратко, на
has начинаются обращения к релейшенам.Size: a a a
AH
has начинаются обращения к релейшенам.И
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Factories/Factory.php
замениif (! Str::startsWith($method, ['for', 'has'])) {
static::throwBadMethodCallException($method);
}
наif (! Str::startsWith($method, ['for', 'has'])) {
dd(
Str::startsWith($method, 'has'),
$method,
$parameters
);
static::throwBadMethodCallException($method);
}
И посмотри что дропнется. Какие данные.P
AH
has нет кириллицы, то должно быть true.И
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Factories/Factory.php
замениif (! Str::startsWith($method, ['for', 'has'])) {
static::throwBadMethodCallException($method);
}
наif (! Str::startsWith($method, ['for', 'has'])) {
dd(
Str::startsWith($method, 'has'),
$method,
$parameters
);
static::throwBadMethodCallException($method);
}
И посмотри что дропнется. Какие данные.
И
AH
AH
AH
P
И
AH

И
AH
php artisan --versionИ
php artisan --versionAH
N