@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function register() |
27 | 27 | { |
28 | - Connection::resolverFor('sqlite', function ($connection, $database, $prefix, $config) { |
|
28 | + Connection::resolverFor('sqlite', function($connection, $database, $prefix, $config) { |
|
29 | 29 | return new MySQLiteConnection($connection, $database, $prefix, $config); |
30 | 30 | }); |
31 | 31 | } |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $data = []; |
26 | 26 | |
27 | 27 | $ref = new ReflectionClass(__CLASS__); |
28 | - $methods = $ref->getMethods(ReflectionMethod::IS_PUBLIC | ReflectionMethod::IS_STATIC); |
|
28 | + $methods = $ref->getMethods(ReflectionMethod::IS_PUBLIC|ReflectionMethod::IS_STATIC); |
|
29 | 29 | foreach ($methods as $method) { |
30 | 30 | if (strpos($method->name, 'mysql_') !== 0) { |
31 | 31 | continue; |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $function = substr($method, 6); /* Strip 'mysql_' prefix to get the function name. */ |
72 | 72 | |
73 | 73 | /* Skip functions not in the list. */ |
74 | - if (! empty($fnList) && ! in_array($function, $fnList)) { |
|
74 | + if ( ! empty($fnList) && ! in_array($function, $fnList)) { |
|
75 | 75 | return false; |
76 | 76 | } |
77 | 77 |