mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-20 22:56:35 +02:00
Change scope of getGetterName and getSetterName methods
This commit is contained in:
parent
3f02ebcfe4
commit
c690ea3efe
|
@ -105,7 +105,7 @@ abstract class BaseTest extends \PHPUnit_Framework_TestCase
|
|||
* @param string $propertyName Property name
|
||||
* @return string Getter method name
|
||||
*/
|
||||
final protected function getGetterName($propertyName)
|
||||
private function getGetterName($propertyName)
|
||||
{
|
||||
return 'get' . ucfirst($propertyName);
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ abstract class BaseTest extends \PHPUnit_Framework_TestCase
|
|||
* @param string $propertyName Property name
|
||||
* @return string Getter method name
|
||||
*/
|
||||
final protected function getSetterName($propertyName)
|
||||
private function getSetterName($propertyName)
|
||||
{
|
||||
return 'set' . ucfirst($propertyName);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue