Completed
Push — master ( c4e3cd...c5cae6 )
by Anton
05:38
created
source/Spiral/Database/Drivers/Postgres/Schemas/ColumnSchema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@
 block discarded – undo
399 399
             . "WHERE conrelid = ? AND contype = 'c' AND (consrc LIKE ? OR consrc LIKE ?)";
400 400
 
401 401
         $constraints = $this->table->driver()->query(
402
-            $query, [$tableOID, '(' . $this->name . '%', '("' . $this->name . '%',]
402
+            $query, [$tableOID, '(' . $this->name . '%', '("' . $this->name . '%', ]
403 403
         );
404 404
 
405 405
         foreach ($constraints as $constraint) {
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Quoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     protected function expression($identifier)
93 93
     {
94
-        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function ($match) {
94
+        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function($match) {
95 95
             $identifier = $match[1];
96 96
 
97 97
             //Function name
Please login to merge, or discard this patch.
source/Spiral/Tokenizer/Prototypes/AbstractLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
      */
147 147
     protected function classReflection($class)
148 148
     {
149
-        $loader = function ($class) {
149
+        $loader = function($class) {
150 150
             throw new LocatorException("Class '{$class}' can not be loaded.");
151 151
         };
152 152
 
Please login to merge, or discard this patch.
source/Spiral/Database/Builders/Traits/JoinsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      */
319 319
     private function onWrapper()
320 320
     {
321
-        return function ($parameter) {
321
+        return function($parameter) {
322 322
             if ($parameter instanceof FragmentInterface) {
323 323
                 return $parameter;
324 324
             }
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      */
335 335
     private function whereWrapper()
336 336
     {
337
-        return function ($parameter) {
337
+        return function($parameter) {
338 338
             if ($parameter instanceof FragmentInterface) {
339 339
                 //We are only not creating bindings for plan fragments
340 340
                 if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) {
Please login to merge, or discard this patch.
source/Spiral/Database/Builders/Prototypes/AbstractSelect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -419,7 +419,7 @@
 block discarded – undo
419 419
      */
420 420
     private function havingWrapper()
421 421
     {
422
-        return function ($parameter) {
422
+        return function($parameter) {
423 423
             if ($parameter instanceof FragmentInterface) {
424 424
                 //We are only not creating bindings for plan fragments
425 425
                 if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) {
Please login to merge, or discard this patch.
source/Spiral/Core/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -429,7 +429,7 @@
 block discarded – undo
429 429
         $class,
430 430
         array $parameters,
431 431
         $context = null,
432
-        \ReflectionClass &$reflection = null
432
+        \ReflectionClass & $reflection = null
433 433
     ) {
434 434
         try {
435 435
             $reflection = new \ReflectionClass($class);
Please login to merge, or discard this patch.
source/Spiral/Database/Builders/Prototypes/AbstractWhere.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -419,7 +419,7 @@
 block discarded – undo
419 419
      */
420 420
     private function havingWrapper()
421 421
     {
422
-        return function ($parameter) {
422
+        return function($parameter) {
423 423
             if ($parameter instanceof FragmentInterface) {
424 424
                 //We are only not creating bindings for plan fragments
425 425
                 if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) {
Please login to merge, or discard this patch.
source/Spiral/Encrypter/Encrypter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,9 +135,9 @@
 block discarded – undo
135 135
 
136 136
         $vector = $this->createIV(openssl_cipher_iv_length($this->cipher));
137 137
 
138
-        try{
138
+        try {
139 139
                 $serialized = json_encode($data);
140
-        } catch (\ErrorException $e){
140
+        } catch (\ErrorException $e) {
141 141
             throw new EncrypterException("Unsupported data format", null, $e);
142 142
         }
143 143
         
Please login to merge, or discard this patch.