Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Jan 25, 2025
1 parent 7363135 commit 95fe5b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IdeHelper/RecursiveRelationsHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class RecursiveRelationsHook implements ModelHookInterface
public function run(ModelsCommand $command, Model $model): void
{
$traits = class_uses_recursive($model);
// @phpstan-ignore offsetAccess.nonOffsetAccessible same usage as in ide-helper
// @phpstan-ignore offsetAccess.nonOffsetAccessible
$useGenericsSyntax = $command->getLaravel()['config']->get('ide-helper.use_generics_annotations', true);

if (in_array(HasRecursiveRelationships::class, $traits)) {
Expand Down Expand Up @@ -168,7 +168,7 @@ protected function addRelationship(ModelsCommand $command, array $relationship,
!$relationship['manyRelation']
);

// @phpstan-ignore offsetAccess.nonOffsetAccessible same usage as in ide-helper
// @phpstan-ignore offsetAccess.nonOffsetAccessible
$addCountProperties = $command->getLaravel()['config']->get('ide-helper.write_model_relation_count_properties', true);

if ($relationship['manyRelation'] && $addCountProperties) {
Expand Down

0 comments on commit 95fe5b3

Please sign in to comment.