PHP Coding Standards Fixer > fix coding standard

This commit is contained in:
Meritoo
2019-04-13 21:47:49 +02:00
parent 414ce0fd06
commit b166b8b805

View File

@@ -23,26 +23,6 @@ use Meritoo\Common\Type\OopVisibilityType;
*/ */
class OopVisibilityTypeTest extends BaseTypeTestCase class OopVisibilityTypeTest extends BaseTypeTestCase
{ {
/**
* {@inheritdoc}
*/
protected function getAllExpectedTypes(): array
{
return [
'IS_PRIVATE' => 3,
'IS_PROTECTED' => 2,
'IS_PUBLIC' => 1,
];
}
/**
*{@inheritdoc}
*/
protected function getTestedTypeInstance(): BaseType
{
return new OopVisibilityType();
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
@@ -83,4 +63,24 @@ class OopVisibilityTypeTest extends BaseTypeTestCase
true, true,
]; ];
} }
/**
* {@inheritdoc}
*/
protected function getAllExpectedTypes(): array
{
return [
'IS_PRIVATE' => 3,
'IS_PROTECTED' => 2,
'IS_PUBLIC' => 1,
];
}
/**
*{@inheritdoc}
*/
protected function getTestedTypeInstance(): BaseType
{
return new OopVisibilityType();
}
} }