Compare commits
3
Commits
bf115aeaf8
...
v1.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cddb7355c | ||
|
|
dbca338457 | ||
|
|
c0bad5c844 |
No files matched your search
+3
-3
@@ -10,12 +10,12 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"mcnd/ulmus": "dev-master"
|
"mcnd/ulmus": "^1.0 || ^2.0"
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
"type": "vcs",
|
"type": "composer",
|
||||||
"url": "https://github.com/mcNdave/ulmus.git"
|
"url": "https://git.mcnd.ca/api/packages/mcndave/composer"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@ trait EntityTrait {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[Ignore]
|
#[Ignore]
|
||||||
public static function repository(string $alias = Repository::DEFAULT_ALIAS, ConnectionAdapter $adapter = null) : Repository
|
public static function repository(string $alias = Repository::DEFAULT_ALIAS, ? ConnectionAdapter $adapter = null) : Repository
|
||||||
{
|
{
|
||||||
return Ulmus::repository(static::class, $alias, $adapter);
|
return Ulmus::repository(static::class, $alias, $adapter);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ class QueryBuilder implements Ulmus\QueryBuilder\QueryBuilderInterface
|
|||||||
# return $this->render();
|
# return $this->render();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addParameter($value, string $key = null) : string
|
public function addParameter($value, ?string $key = null) : string
|
||||||
{
|
{
|
||||||
if ( $this->parent ?? false ) {
|
if ( $this->parent ?? false ) {
|
||||||
return $this->parent->addParameter($value, $key);
|
return $this->parent->addParameter($value, $key);
|
||||||
|
|||||||
Reference in new issue
Block a user