Skip to content

Commit

Permalink
protected methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Nov 7, 2017
1 parent 070dc0f commit 036234f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/AbstractDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct()
*
* @return string
*/
abstract public function getISONumber();
abstract protected function getISONumber();

/**
* @param array $entry
Expand Down Expand Up @@ -70,7 +70,7 @@ private function getDatabaseFilePath()
/**
* @return string
*/
public function getLocalMessagesPath()
private function getLocalMessagesPath()
{
return __DIR__ . self::MESSAGES_PATH;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Countries.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Countries extends AbstractDatabase
{
public function getISONumber()
protected function getISONumber()
{
return '3166-1';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Currencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Currencies extends AbstractDatabase
/**
* @return string
*/
public function getISONumber()
protected function getISONumber()
{
return '4217';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/HistoricCountries.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class HistoricCountries extends AbstractDatabase
/**
* @return string
*/
public function getISONumber()
protected function getISONumber()
{
return '3166-3';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Languages.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Languages extends AbstractDatabase
/**
* @return string
*/
public function getISONumber()
protected function getISONumber()
{
return '639-3';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Scripts extends AbstractDatabase
/**
* @return string
*/
public function getISONumber()
protected function getISONumber()
{
return '15924';
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Subdivisions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Subdivisions extends AbstractDatabase
{
public function getISONumber()
protected function getISONumber()
{
return '3166-2';
}
Expand Down

0 comments on commit 036234f

Please sign in to comment.