Passed
Pull Request — master (#91)
by
unknown
22:44 queued 18:47
created
src/Mhorninger/SQLite/MySQLiteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Mhorninger/MySQLite/MySQLite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.