- Fixes made for PHP 8.5

This commit is contained in:
Dave Mc Nicoll committed 2026-10-23 14:50:34 +00:00
1 parent dbca338457
commit 9cddb7355c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
} }
+1 -1
View File
@@ -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);