Skip to content

Commit afe3783

Browse files
authored
Add scalar Column6
1 parent d3c990c commit afe3783

File tree

6 files changed

+26
-254
lines changed

6 files changed

+26
-254
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ See [GitHub releases](https://github.com/mll-lab/php-utils/releases).
99

1010
## Unreleased
1111

12+
## v5.5.0
13+
14+
### Added
15+
16+
- Add scalar `Column6`
17+
1218
## v5.4.0
1319

1420
### Added

src/Microplate/Scalars/Column6.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php declare(strict_types=1);
2+
3+
namespace MLL\Utils\Microplate\Scalars;
4+
5+
use MLL\GraphQLScalars\IntRange;
6+
7+
class Column6 extends IntRange
8+
{
9+
public ?string $description = 'Represents a column in a coordinate system with 6 columns. Allowed values range from 1-6.';
10+
11+
protected static function min(): int
12+
{
13+
return 1;
14+
}
15+
16+
protected static function max(): int
17+
{
18+
return 6;
19+
}
20+
}

tests/Microplate/Scalars/Column12Test.php

-59
This file was deleted.

tests/Microplate/Scalars/Column2Test.php

-59
This file was deleted.

tests/Microplate/Scalars/Row16Test.php

-68
This file was deleted.

tests/Microplate/Scalars/Row8Test.php

-68
This file was deleted.

0 commit comments

Comments
 (0)