make classes final

This commit is contained in:
Dennis Eichhorn 2019-10-17 10:49:07 +02:00
parent 7c71b023c7
commit 5ee0e67512
18 changed files with 18 additions and 18 deletions

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class BitonicSort implements SortInterface
final class BitonicSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class BubbleSort implements SortInterface
final class BubbleSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class BucketSort
final class BucketSort
{
/**
* Sort array

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class CocktailShakerSort implements SortInterface
final class CocktailShakerSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class CombSort implements SortInterface
final class CombSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class CycleSort implements SortInterface
final class CycleSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class GnomeSort implements SortInterface
final class GnomeSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class HeapSort implements SortInterface
final class HeapSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class InsertionSort implements SortInterface
final class InsertionSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class IntroSort implements SortInterface
final class IntroSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class MergeSort implements SortInterface
final class MergeSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class OddEvenSort implements SortInterface
final class OddEvenSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class PancakeSort implements SortInterface
final class PancakeSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class QuickSort implements SortInterface
final class QuickSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class SelectionSort implements SortInterface
final class SelectionSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class ShellSort implements SortInterface
final class ShellSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class StoogeSort implements SortInterface
final class StoogeSort implements SortInterface
{
/**
* {@inheritdoc}

View File

@ -22,7 +22,7 @@ namespace phpOMS\Algorithm\Sort;
* @link https://orange-management.org
* @since 1.0.0
*/
class TimSort implements SortInterface
final class TimSort implements SortInterface
{
/**
* Blocks the sorting is devided into