Skip to content

Commit

Permalink
Fix: spelling of area unit classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbrauer committed Nov 14, 2017
1 parent 8651ae6 commit 3fce071
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@
namespace UnitConverter\Unit\Area;

/**
* Square centimeter data class.
* Square centimetre data class.
*
* @version 1.0.0
* @since 0.0.1
* @author Jordan Brauer <[email protected]>
*/
class SquareCentimeter extends AreaUnit
class SquareCentimetre extends AreaUnit
{
protected function configure (): void
{
$this
->setName("square centimeter")
->setName("square centimetre")

->setSymbol("cm2")

->setScientificSymbol("cm²")

->setUnits(0.0001)
;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@
namespace UnitConverter\Unit\Area;

/**
* Square kilometer data class.
* Square kilometre data class.
*
* @version 1.0.0
* @since 0.0.1
* @author Jordan Brauer <[email protected]>
*/
class SquareKilometer extends AreaUnit
class SquareKilometre extends AreaUnit
{
protected function configure (): void
{
$this
->setName("square kilometer")
->setName("square kilometre")

->setSymbol("km2")

->setScientificSymbol("km²")

->setUnits(1000000)
;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,24 @@
namespace UnitConverter\Unit\Area;

/**
* Square meter data class. All area units will use this
* Square metre data class. All area units will use this
* class as the $base property.
*
* @version 1.0.0
* @since 0.0.1
* @author Jordan Brauer <[email protected]>
*/
class SquareMeter extends AreaUnit
class SquareMetre extends AreaUnit
{
protected function configure (): void
{
$this
->setName("square meter")
->setName("square metre")

->setSymbol("m2")

->setScientificSymbol("")

->setUnits(1)
;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@
namespace UnitConverter\Unit\Area;

/**
* Square millimeter data class.
* Square millimetre data class.
*
* @version 1.0.0
* @since 0.0.1
* @author Jordan Brauer <[email protected]>
*/
class SquareMillimeter extends AreaUnit
class SquareMillimetre extends AreaUnit
{
protected function configure (): void
{
$this
->setName("square millimeter")
->setName("square millimetre")

->setSymbol("mm2")

->setScientificSymbol("mm²")

->setUnits(0.000001)
;
}
Expand Down

0 comments on commit 3fce071

Please sign in to comment.