neat-php / object

Neat Object components
MIT License
4 stars 1 forks source link

Fix type hints, closes #31 #39

Closed annavanbiemen closed 3 years ago

annavanbiemen commented 3 years ago

Add type hints whenever possible

codecov[bot] commented 3 years ago

Codecov Report

Merging #39 (6e9acdf) into master (cf50891) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##              master       #39   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       357       364    +7     
===========================================
  Files             42        42           
  Lines            861       861           
===========================================
  Hits             861       861           
Impacted Files Coverage Δ Complexity Δ
classes/ArrayConversion.php 100.00% <ø> (ø) 2.00 <0.00> (ø)
classes/Events.php 100.00% <ø> (ø) 2.00 <0.00> (ø)
classes/Property/Boolean.php 100.00% <ø> (ø) 3.00 <0.00> (ø)
classes/Property/DateTime.php 100.00% <ø> (ø) 3.00 <0.00> (ø)
classes/Property/DateTimeImmutable.php 100.00% <ø> (ø) 3.00 <0.00> (ø)
classes/Property/Integer.php 100.00% <ø> (ø) 2.00 <0.00> (ø)
classes/Collectible.php 100.00% <100.00%> (ø) 22.00 <2.00> (ø)
classes/Decorator/CreatedAt.php 100.00% <100.00%> (ø) 2.00 <2.00> (ø)
classes/Decorator/EventDispatcher.php 100.00% <100.00%> (ø) 14.00 <7.00> (ø)
classes/Decorator/SoftDelete.php 100.00% <100.00%> (ø) 11.00 <5.00> (+1.00)
... and 10 more

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 cf50891...6e9acdf. Read the comment docs.