Skip to content

Commit

Permalink
refactor: PHPstan ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 29, 2024
1 parent 221021d commit 076f417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/migrations/m231108_024521_change_to_json_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private function alterColumnUsingPgsql($table, $column, $type, $using): void
*/
private function getBlockFields(string $fieldType): array
{
/** @phpstan-ignore-next-line */
return Craft::$app->getFields()->getFieldsByType($fieldType);
}
}
1 change: 1 addition & 0 deletions src/services/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ protected function updateContent(string $value, CantoFieldData $cantoFieldData,
*/
private function getBlockFields(string $fieldType): array
{
/** @phpstan-ignore-next-line */
return Craft::$app->getFields()->getFieldsByType($fieldType);
}
}

0 comments on commit 076f417

Please sign in to comment.