master v0.1.2
HerrHase 3 years ago
parent 64d168bb3d
commit 1a00622480

@ -1,6 +1,6 @@
{ {
"name": "tentakelfabrik/pirectus", "name": "tentakelfabrik/pirectus",
"version": "0.1.1", "version": "0.1.2",
"type": "library", "type": "library",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [

@ -222,7 +222,7 @@ class ItemsQueryBuilder extends AbstractQueryBuilder
*/ */
public function aliases(string $field, string $alias) public function aliases(string $field, string $alias)
{ {
$this->query['parameters']['alias'][$field] = $alias; $this->query['parameters']['alias'][$alias] = $field;
return $this; return $this;
} }

Loading…
Cancel
Save