Skip to content

Commit

Permalink
Fixed code example in \eZ\Publish\API\Repository\Values\Content\Query…
Browse files Browse the repository at this point in the history
…\Criterion::getSpecifications docblock (#3045)
  • Loading branch information
adamwojs authored Jun 25, 2020
1 parent ef6231e commit 935aa52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eZ/Publish/API/Repository/Values/Content/Query/Criterion.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ public function __construct($target, $operator, $value, Value $valueData = null)
* // The EQ operator expects a single value, either as an integer or a string
* new Specifications(
* Operator::EQ,
* Specifications::INPUT_TYPE_SINGLE,
* [Specifications::INPUT_VALUE_INTEGER, Specifications::INPUT_VALUE_STRING],
* Specifications::FORMAT_SINGLE,
* Specifications::TYPE_INTEGER | Specifications::TYPE_STRING
* ),
* // The IN operator expects an array of values, of either integers or strings
* new Specifications(
* Operator::IN,
* Specifications::INPUT_TYPE_ARRAY,
* [Specifications::INPUT_VALUE_INTEGER, Specifications::INPUT_VALUE_STRING]
* Specifications::FORMAT_ARRAY,
* Specifications::TYPE_INTEGER | Specifications::TYPE_STRING
* )
* ]
* </code>
Expand Down

0 comments on commit 935aa52

Please sign in to comment.