Prepping everything for a PHP 8 release

This commit is contained in:
Dave Mc Nicoll committed 2022-10-10 14:26:27 +00:00
1 parent dfb84c104d
commit 0e8443b1c1
5 files changed
+35 -12

No files matched your search

+1 -1
View File
@@ -90,6 +90,6 @@ trait DefaultAdapterTrait
break;
}
return $typeOnly ? $type : $type . ( $length ? "($length" . ( $precision ? ",$precision" : "" ) . ")" : "" );
return $typeOnly ? $type : $type . ( isset($length) ? "($length" . ( ! empty($precision) ? ",$precision" : "" ) . ")" : "" );
}
}