Prepping everything for a PHP 8 release
This commit is contained in:
1 parent
dfb84c104d
commit
0e8443b1c1
5 files changed
+35
-12
No files matched your search
@@ -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" : "" ) . ")" : "" );
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user