diff --git a/src/Selectors/IndexListSelector.php b/src/Selectors/IndexListSelector.php index 9d144be..e6060fd 100644 --- a/src/Selectors/IndexListSelector.php +++ b/src/Selectors/IndexListSelector.php @@ -12,7 +12,6 @@ /** * Represents an index list selector that selects elements based on the provided array of indexes. * - * ##### Example * ```php * $originalArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; * $view = ArrayView::toView($originalArray); diff --git a/src/Selectors/MaskSelector.php b/src/Selectors/MaskSelector.php index d9158a7..80f0dca 100644 --- a/src/Selectors/MaskSelector.php +++ b/src/Selectors/MaskSelector.php @@ -11,7 +11,6 @@ /** * Represents a mask selector that selects elements based on the provided array of boolean mask values. * - * ##### Example * ```php * $originalArray = [1, 2, 3, 4, 5]; * $view = ArrayView::toView($originalArray); diff --git a/src/Selectors/PipeSelector.php b/src/Selectors/PipeSelector.php index 08ebffd..3548a0d 100644 --- a/src/Selectors/PipeSelector.php +++ b/src/Selectors/PipeSelector.php @@ -12,7 +12,6 @@ /** * Represents a selector that applies a series of selectors sequentially to a source array view. * - * ##### Example * ```php * $originalArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; * $selector = new PipeSelector([ diff --git a/src/Selectors/SliceSelector.php b/src/Selectors/SliceSelector.php index b68db22..d1d1152 100644 --- a/src/Selectors/SliceSelector.php +++ b/src/Selectors/SliceSelector.php @@ -12,7 +12,6 @@ /** * Represents a slice selector that selects elements based on the provided slice parameters. * - * ##### Example * ```php * $originalArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; * $view = ArrayView::toView($originalArray); diff --git a/src/Views/ArrayIndexListView.php b/src/Views/ArrayIndexListView.php index c9a9a04..a6c5ec9 100644 --- a/src/Views/ArrayIndexListView.php +++ b/src/Views/ArrayIndexListView.php @@ -14,13 +14,11 @@ * * Each element in the view is based on the specified indexes. * - *
- *
+ * ```php
  * $source = [1, 2, 3, 4, 5];
  * $view = ArrayView::toView($source)->subview(new IndexListSelector([0, 2, 4]));
  * $view->toArray(); // [1, 3, 5]
- *
- * 
+ * ``` * * @template T Type of array source elements. * diff --git a/src/Views/ArrayMaskView.php b/src/Views/ArrayMaskView.php index d79b5dc..c4b1581 100644 --- a/src/Views/ArrayMaskView.php +++ b/src/Views/ArrayMaskView.php @@ -14,13 +14,11 @@ * * Each element in the view is included or excluded based on the specified boolean mask. * - *
- *
+ * ```php
  * $source = [1, 2, 3, 4, 5];
  * $view = ArrayView::toView($source)->subview(new MaskSelector([true, false, true, false, true]));
  * $view->toArray(); // [1, 3, 5]
- *
- * 
+ * ``` * * @template T Type of array source elements. * diff --git a/src/Views/ArraySliceView.php b/src/Views/ArraySliceView.php index c2a7c40..a973da2 100644 --- a/src/Views/ArraySliceView.php +++ b/src/Views/ArraySliceView.php @@ -14,13 +14,11 @@ * Class representing a slice-based view of an array or another ArrayView * for accessing elements within a specified slice range. * - *
- *
+ * ```php
  * $source = [1, 2, 3, 4, 5];
  * $view = ArrayView::toView($source)->subview(new SliceSelector('::2'));
  * $view->toArray(); // [1, 3, 5]
- *
- * 
+ * ``` * * @template T Type of array source elements. *