diff --git a/src/Selectors/MaskSelector.php b/src/Selectors/MaskSelector.php index 65261b4..d9158a7 100644 --- a/src/Selectors/MaskSelector.php +++ b/src/Selectors/MaskSelector.php @@ -21,7 +21,7 @@ * print_r($view->subview($selector)->toArray()); // [1, 3, 5] * ``` */ -class MaskSelector implements MaskSelectorInterface +final class MaskSelector implements MaskSelectorInterface { /** * @var array The array of boolean mask values to select elements based on. diff --git a/src/Selectors/PipeSelector.php b/src/Selectors/PipeSelector.php index d170c22..503a739 100644 --- a/src/Selectors/PipeSelector.php +++ b/src/Selectors/PipeSelector.php @@ -30,7 +30,7 @@ * print_r($originalArray); // [1, 2, 3, 4, 55, 6, 77, 8, 9, 10] * ``` */ -class PipeSelector implements PipeSelectorInterface +final class PipeSelector implements PipeSelectorInterface { /** * @var array An array of selectors to be applied sequentially. diff --git a/src/Selectors/SliceSelector.php b/src/Selectors/SliceSelector.php index 26117eb..b68db22 100644 --- a/src/Selectors/SliceSelector.php +++ b/src/Selectors/SliceSelector.php @@ -38,7 +38,7 @@ * print_r($view->subview($selector)->toArray()); // [9, 8, 7, 6, 5, 4, 3, 2] * ``` */ -class SliceSelector extends Slice implements ArraySelectorInterface +final class SliceSelector extends Slice implements ArraySelectorInterface { /** * Creates a new SliceSelector instance with the provided slice parameters.