Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Add property type declarations #697

Merged
merged 1 commit into from
Dec 27, 2021
Merged

Fix: Add property type declarations #697

merged 1 commit into from
Dec 27, 2021

Conversation

localheinz
Copy link
Member

This pull request

  • adds property type declarations

@@ -25,7 +25,7 @@ public function accept(FactoryBot\FixtureFactory $fixtureFactory): void
'id' => FactoryBot\FieldDefinition::closure(static function (Generator $faker): string {
return $faker->uuid;
}),
'isVerified' => FactoryBot\FieldDefinition::optionalClosure(static function (Generator $faker): bool {
'isVerified' => FactoryBot\FieldDefinition::closure(static function (Generator $faker): bool {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Field is not nullable.

@codecov
Copy link

codecov bot commented Dec 27, 2021

Codecov Report

Merging #697 (13caad0) into main (57585b3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #697   +/-   ##
=========================================
  Coverage     98.50%   98.50%           
  Complexity      103      103           
=========================================
  Files            25       25           
  Lines           335      335           
=========================================
  Hits            330      330           
  Misses            5        5           
Impacted Files Coverage Δ
src/Count.php 100.00% <ø> (ø)
src/EntityDefinition.php 100.00% <ø> (ø)
src/FieldDefinition/Closure.php 100.00% <ø> (ø)
src/FieldDefinition/Optional.php 100.00% <ø> (ø)
src/FieldDefinition/Reference.php 100.00% <ø> (ø)
src/FieldDefinition/References.php 100.00% <ø> (ø)
src/FieldDefinition/Sequence.php 100.00% <ø> (ø)
src/FixtureFactory.php 96.68% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57585b3...13caad0. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants