@@ -30,10 +30,10 @@ protected static function getDriverData($data = null)
3030
3131 /**
3232 * Find Database Driver Name
33- * @param string $name
33+ * @param string|null $name
3434 * @return string
3535 */
36- protected static function getDriverName (? string $ name = null )
36+ protected static function getDriverName ($ name = null )
3737 {
3838 // try to get driver config data
3939 $ config = config (
@@ -74,11 +74,11 @@ protected static function createDriverData(?array $options = [])
7474
7575 /**
7676 * Get supported database Driver
77- * @param string $driver
77+ * @param string|null $driver
7878 *
7979 * @return string|null
8080 */
81- public static function findDriver (? string $ driver = null )
81+ public static function findDriver ($ driver = null )
8282 {
8383 // collation get
8484 $ driver = Str::lower ($ driver );
@@ -91,11 +91,11 @@ public static function findDriver(?string $driver = null)
9191
9292 /**
9393 * Get supported database Collation
94- * @param string $collation
94+ * @param string|null $collation
9595 *
9696 * @return string|null
9797 */
98- public static function findCollation (? string $ collation = null )
98+ public static function findCollation ($ collation = null )
9999 {
100100 // collation get
101101 $ collation = Str::lower ($ collation );
@@ -108,11 +108,11 @@ public static function findCollation(?string $collation = null)
108108
109109 /**
110110 * Get supported database Charset
111- * @param string $charset
111+ * @param string|null $charset
112112 *
113113 * @return string|null
114114 */
115- public static function findCharset (? string $ charset = null )
115+ public static function findCharset ($ charset = null )
116116 {
117117 // charset get
118118 $ charset = Str::lower ($ charset );
@@ -150,7 +150,7 @@ private static function supportedCharsets()
150150 */
151151 private static function supportedCollations ()
152152 {
153- return ['utf8mb4_unicode_ci ' , 'utf8mb4_general_ci ' , 'utf8mb4_bin ' , 'utf8_general_ci ' , 'utf8_bin ' , 'latin1_general_ci ' , 'latin1_bin ' , ];
153+ return ['utf8mb4_unicode_ci ' , 'utf8mb4_general_ci ' , 'utf8mb4_bin ' , 'utf8_general_ci ' , 'utf8_bin ' , 'latin1_general_ci ' , 'latin1_bin ' ];
154154 }
155155
156156}
0 commit comments