This website works better with JavaScript.
Help
Sign In
tentakelfabrik
/
pirectus
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
0
Projects
0
Releases
4
Wiki
Activity
4 Commits
v0.1.0
...
master
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
Diff Options
Show Stats
+1
-1
composer.json
+1
-1
src/Pirectus.php
+1
-1
src/QueryBuilder/AbstractQueryBuilder.php
+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
$result
s
;
}
/**
+ 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
;
}
Write
Preview
Loading…
Cancel
Save