Skip to content

Commit

Permalink
Merge pull request #34 from WimDeMeester/master
Browse files Browse the repository at this point in the history
Use \Carbon\Carbon everywhere in the code
  • Loading branch information
WimDeMeester authored Sep 22, 2020
2 parents 39faf60 + 48d59f8 commit 6401c00
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

All notable changes to `laravel-astronomy-library` will be documented in this file.

## Version 4.9.1

- Use \Carbon\Carbon everywhere in the code

## Version 4.9

### Added
### Added

- Add methods to calculate the equatorial coordinates of the sun.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

namespace deepskylog\AstronomyLibrary\Coordinates;

use Carbon\Carbon;
use deepskylog\AstronomyLibrary\Time;
use Illuminate\Support\Carbon;

/**
* EclipticalCoordinates class.
Expand Down
2 changes: 1 addition & 1 deletion src/deepskylog/AstronomyLibrary/Targets/Sun.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

namespace deepskylog\AstronomyLibrary\Targets;

use Carbon\Carbon;
use deepskylog\AstronomyLibrary\Coordinates\Coordinate;
use deepskylog\AstronomyLibrary\Coordinates\EclipticalCoordinates;
use deepskylog\AstronomyLibrary\Coordinates\EquatorialCoordinates;
use deepskylog\AstronomyLibrary\Time;
use Illuminate\Support\Carbon;

/**
* The target class describing the sun.
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/EclipticalCoordinatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

namespace Tests\Unit;

use Carbon\Carbon;
use deepskylog\AstronomyLibrary\Coordinates\EclipticalCoordinates;
use deepskylog\AstronomyLibrary\Testing\BaseTestCase;
use Illuminate\Support\Carbon;

/**
* Tests for the EclipticalCoordinates class.
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/SunTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

namespace Tests\Unit;

use Carbon\Carbon;
use deepskylog\AstronomyLibrary\Targets\Sun;
use deepskylog\AstronomyLibrary\Testing\BaseTestCase;
use deepskylog\AstronomyLibrary\Time;
use Illuminate\Support\Carbon;

/**
* Tests for the sun class.
Expand Down

0 comments on commit 6401c00

Please sign in to comment.