- Fixes made for PHP 8.5
This commit is contained in:
1 parent
dbca338457
commit
9cddb7355c
2 files changed
+2
-2
No files matched your search
+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