Skip to content

Commit

Permalink
Convert AbstractFactory to a final class with private constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
coisa committed Dec 6, 2020
1 parent d6a78a6 commit 034df4b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/AbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@
*
* @package CoiSA\Factory
*/
abstract class AbstractFactory implements AbstractFactoryInterface
final class AbstractFactory implements AbstractFactoryInterface
{
// @codeCoverageIgnoreStart

/**
* Prevent class from being initialized.
*/
private function __construct()
{
}

// @codeCoverageIgnoreEnd

/**
* {@inheritdoc}
*
Expand Down

0 comments on commit 034df4b

Please sign in to comment.