@@ -72,7 +72,7 @@ |
||
| 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 |
@@ -17,7 +17,7 @@ |
||
| 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 | } |
@@ -42,7 +42,7 @@ |
||
| 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; |
@@ -16,7 +16,7 @@ |
||
| 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']; |
@@ -52,7 +52,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -46,7 +46,7 @@ |
||
| 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 | } |
@@ -65,7 +65,7 @@ |
||
| 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; |
@@ -51,7 +51,7 @@ |
||
| 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 | |