Completed
Push — master ( e77a61...f4a588 )
by Stan
04:38
created
src/Magister/Services/Database/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     public function select($query, $bindings = [])
74 74
     {
75
-        return $this->run($query, $bindings, function ($me, $query, $bindings) {
75
+        return $this->run($query, $bindings, function($me, $query, $bindings) {
76 76
             list($query, $bindings) = $me->prepareBindings($query, $bindings);
77 77
 
78 78
             // For select statements, we'll simply execute the query and return an array
Please login to merge, or discard this patch.
src/Magister/Services/Database/DatabaseServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function register()
19 19
     {
20
-        $this->app->singleton('db', function ($app) {
20
+        $this->app->singleton('db', function($app) {
21 21
             return new DatabaseManager($app);
22 22
         });
23 23
     }
Please login to merge, or discard this patch.
src/Magister/Services/Database/DatabaseManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         $name = $name ?: $this->getDefaultConnection();
44 44
 
45
-        if (!isset($this->connections[$name])) {
45
+        if ( ! isset($this->connections[$name])) {
46 46
             $connection = $this->makeConnection();
47 47
 
48 48
             $this->connections[$name] = $connection;
Please login to merge, or discard this patch.
src/Magister/Services/Cookie/CookieServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function register()
18 18
     {
19
-        $this->app->singleton('cookie', function ($app) {
19
+        $this->app->singleton('cookie', function($app) {
20 20
             $cookie = new CookieJar($app['encrypter']);
21 21
 
22 22
             $config = $app['config']['session'];
Please login to merge, or discard this patch.
src/Magister/Services/Cookie/CookieJar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function has($key)
54 54
     {
55
-        return !is_null($this->get($key));
55
+        return ! is_null($this->get($key));
56 56
     }
57 57
 
58 58
     /**
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $value = isset($_COOKIE[$key]) ? $_COOKIE[$key] : null;
69 69
 
70
-        if (!is_null($value)) {
70
+        if ( ! is_null($value)) {
71 71
             return $this->decrypt($value);
72 72
         }
73 73
 
Please login to merge, or discard this patch.
src/Magister/Services/Foundation/Http/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public function bootstrap()
48 48
     {
49
-        if (!$this->app->hasBeenBootstrapped()) {
49
+        if ( ! $this->app->hasBeenBootstrapped()) {
50 50
             $this->app->bootstrapWith($this->bootstrappers());
51 51
         }
52 52
     }
Please login to merge, or discard this patch.
src/Magister/Services/Foundation/AliasLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function register()
67 67
     {
68
-        if (!$this->isRegistered()) {
68
+        if ( ! $this->isRegistered()) {
69 69
             $this->registerAutoloader();
70 70
 
71 71
             $this->registered = true;
Please login to merge, or discard this patch.
src/Magister/Services/Support/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     {
52 52
         $driver = $driver ?: $this->getDefaultDriver();
53 53
 
54
-        if (!isset($this->drivers[$driver])) {
54
+        if ( ! isset($this->drivers[$driver])) {
55 55
             $this->drivers[$driver] = $this->createDriver($driver);
56 56
         }
57 57
 
Please login to merge, or discard this patch.