4 Commits

Author SHA1 Message Date
  HerrHase 58ed57814f adding #2 3 years ago
  HerrHase 1a00622480 bugfix #1 3 years ago
  HerrHase 64d168bb3d bugfix typographical error 3 years ago
  HerrHase b02c3facec bugfix typographical error 3 years ago
4 changed files with 4 additions and 4 deletions
Split View
  1. +1
    -1
      composer.json
  2. +1
    -1
      src/Pirectus.php
  3. +1
    -1
      src/QueryBuilder/AbstractQueryBuilder.php
  4. +1
    -1
      src/QueryBuilder/ItemsQueryBuilder.php

+ 1
- 1
composer.json View File

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


+ 1
- 1
src/Pirectus.php View File

@ -44,7 +44,7 @@ class Pirectus
public function items(string $name)
{
$query = [
'endpoint' => '/items/'.$name,
'endpoint' => 'items/'.$name,
'parameters' => []
];


+ 1
- 1
src/QueryBuilder/AbstractQueryBuilder.php View File

@ -69,7 +69,7 @@ abstract class AbstractQueryBuilder
$results['data'] = $results['data'][0];
}
return $result;
return $results;
}
/**


+ 1
- 1
src/QueryBuilder/ItemsQueryBuilder.php View File

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


Loading…
Cancel
Save