Skip to content

Commit 2ac54dc

Browse files
author
Wout Gevaert
committed
Make StringType implement ComparableType
1 parent e074989 commit 2ac54dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Traits/StringTypeTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
trait StringTypeTrait
3434
{
35-
use PropertyTypeTrait;
35+
use ComparableTypeTrait;
3636
use AliasableTrait;
3737

3838
/**

src/Types/PropertyTypes/StringType.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525
use WikibaseSolutions\CypherDSL\EndsWith;
2626
use WikibaseSolutions\CypherDSL\Regex;
2727
use WikibaseSolutions\CypherDSL\StartsWith;
28+
use WikibaseSolutions\CypherDSL\Traits\ComparableTypeTrait;
2829

2930
/**
3031
* Represents the type "string".
3132
*/
32-
interface StringType extends PropertyType
33+
interface StringType extends ComparableType
3334
{
3435
/**
3536
* Check whether this expression the given expression.

0 commit comments

Comments
 (0)