Skip to content

Commit

Permalink
make all classes final
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Jun 5, 2024
1 parent 901b031 commit 9414f27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Configuration/OrderConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Closure;
use Doctrine\Common\Collections\Criteria;

class OrderConfiguration
final class OrderConfiguration
{
public function __construct(
private string $fieldName,
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/OrderConfigurations.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @implements IteratorAggregate<int, OrderConfiguration>
* @implements ArrayAccess<int, OrderConfiguration>
*/
class OrderConfigurations implements IteratorAggregate, Countable, ArrayAccess
final class OrderConfigurations implements IteratorAggregate, Countable, ArrayAccess
{
/** @var array<int|string, OrderConfiguration> */
private array $orderConfigurations;
Expand Down
2 changes: 1 addition & 1 deletion src/Iterator/ChunkIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* @implements IteratorAggregate<TKey, TValue>
*/
class ChunkIterator implements IteratorAggregate
final class ChunkIterator implements IteratorAggregate
{
/**
* @param iterable<TKey, TValue> $data
Expand Down
2 changes: 1 addition & 1 deletion src/Pagination/CursorPagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* @template-covariant T
*/
class CursorPagination
final class CursorPagination
{
/** @var array<int|string, mixed> */
private array $afterValues = [];
Expand Down

0 comments on commit 9414f27

Please sign in to comment.