mirror of
https://github.com/jupeter/clean-code-php.git
synced 2025-09-26 05:59:04 +02:00
Typo
This commit is contained in:
@@ -1475,7 +1475,7 @@ final class Car
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string The color of the vehicule
|
* @return string The color of the vehicle
|
||||||
*/
|
*/
|
||||||
public function getColor()
|
public function getColor()
|
||||||
{
|
{
|
||||||
@@ -1487,15 +1487,15 @@ final class Car
|
|||||||
**Good:**
|
**Good:**
|
||||||
|
|
||||||
```php
|
```php
|
||||||
interface Vehicule
|
interface Vehicle
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @return string The color of the vehicule
|
* @return string The color of the vehicle
|
||||||
*/
|
*/
|
||||||
public function getColor();
|
public function getColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
final class Car interface Vehicule
|
final class Car implements Vehicle
|
||||||
{
|
{
|
||||||
private $color;
|
private $color;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user