@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | * @var ObjectType $object |
315 | 315 | */ |
316 | 316 | |
317 | - if (str_starts_with((string)$name, '__')) { |
|
317 | + if (str_starts_with((string) $name, '__')) { |
|
318 | 318 | // internal type |
319 | 319 | continue; |
320 | 320 | } |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | continue; |
327 | 327 | } |
328 | 328 | |
329 | - $methodName = $this->getInflector()->pluralize(mb_strtolower((string)$name)); |
|
329 | + $methodName = $this->getInflector()->pluralize(mb_strtolower((string) $name)); |
|
330 | 330 | $this->class->addMethod($methodName) |
331 | 331 | ->setReturnType('\\Illuminate\\Database\\Eloquent\\Relations\\MorphToMany') |
332 | 332 | ->setPublic() |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | } else { |
355 | 355 | $this->methodRandom->addBody( |
356 | 356 | '$data["' . $lowerName . '_id"] = function () {' . "\n" . |
357 | - ' return factory(' . $targetClass . '::class)->create()->id;' . "\n" . |
|
357 | + ' return factory(' . $targetClass . '::class)->create()->id;' . "\n" . |
|
358 | 358 | '};' |
359 | 359 | ); |
360 | 360 | } |