We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d90697 commit dfa6b75Copy full SHA for dfa6b75
src/Testing/InteractsWithJsonFields.php
@@ -5,7 +5,6 @@
5
namespace Orion\Testing;
6
7
use Illuminate\Contracts\Support\Jsonable;
8
-use Illuminate\Database\Query\Expression;
9
use Illuminate\Support\Facades\DB;
10
11
trait InteractsWithJsonFields
@@ -21,7 +20,7 @@ protected function castFieldsToJson(array $fields): array
21
20
})->toArray();
22
}
23
24
- protected function castFieldToJson($value): Expression
+ protected function castFieldToJson($value)
25
{
26
if ($value instanceof Jsonable) {
27
$value = $value->toJson();
0 commit comments