File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -551,16 +551,15 @@ class::
551
551
return null;
552
552
}
553
553
554
- return $this->pm_decode($value);
555
- }
554
+ return $this->pmDecode($valu
556
555
557
556
public function marshal(mixed $value): mixed
558
557
{
559
558
if (is_array($value) || $value === null) {
560
559
return $value;
561
560
}
562
561
563
- return $this->pm_decode ($value);
562
+ return $this->pmDecode ($value);
564
563
}
565
564
566
565
public function toDatabase(mixed $value, Driver $driver): mixed
@@ -577,7 +576,7 @@ class::
577
576
return PDO::PARAM_STR;
578
577
}
579
578
580
- protected function pm_decode (mixed $value): mixed
579
+ protected function pmDecode (mixed $value): mixed
581
580
{
582
581
if (preg_match('/^(\d+)([a-zA-Z])>([a-zA-Z])$/', $value, $matches)) {
583
582
return [
@@ -658,7 +657,7 @@ used::
658
657
$data = $schema->getColumn($column);
659
658
$sql = $driver->quoteIdentifier($column);
660
659
$sql .= ' JSON';
661
- if (isset($data['null') && $data['null'] === false) {
660
+ if (isset($data['null'] ) && $data['null'] === false) {
662
661
$sql .= ' NOT NULL';
663
662
}
664
663
You can’t perform that action at this time.
0 commit comments