diff --git a/src/Injection/Fragment.php b/src/Injection/Fragment.php index d2dfb465..82aa3e9e 100644 --- a/src/Injection/Fragment.php +++ b/src/Injection/Fragment.php @@ -19,7 +19,7 @@ * * Example: ...->where('time_created', '>', new SQLFragment("NOW()")); */ -class Fragment implements FragmentInterface +class Fragment implements FragmentInterface, \Stringable { private string $fragment; diff --git a/src/Query/ActiveQuery.php b/src/Query/ActiveQuery.php index dfc16b8a..f193f1f0 100644 --- a/src/Query/ActiveQuery.php +++ b/src/Query/ActiveQuery.php @@ -22,7 +22,7 @@ * * @internal */ -abstract class ActiveQuery implements QueryInterface +abstract class ActiveQuery implements QueryInterface, \Stringable { protected ?DriverInterface $driver = null; protected ?string $prefix = null;