Completed
Push — master ( c7cba4...39b3b0 )
by Anton
05:57
created
source/Spiral/Templater/Templater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
      */
246 246
     abstract protected function getSource(
247 247
         $location,
248
-        Templater &$templater = null,
248
+        Templater & $templater = null,
249 249
         array $token = []
250 250
     );
251 251
 
Please login to merge, or discard this patch.
source/Spiral/Tokenizer/Tokenizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
             $parent = new \ReflectionClass($parent);
222 222
         }
223 223
 
224
-        $this->loader->enable()->events()->listen('notFound', $listener = function (Event $event) {
224
+        $this->loader->enable()->events()->listen('notFound', $listener = function(Event $event) {
225 225
             //We want exception if class can not be loaded
226 226
             throw new TokenizerException("Class {$event->context()['class']} can not be loaded.");
227 227
         });
Please login to merge, or discard this patch.
source/Spiral/Validation/Validator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,8 +104,8 @@
 block discarded – undo
104 104
      */
105 105
     protected $options = [
106 106
         'names'           => true, //Interpolate names
107
-        'emptyConditions' => [],   //If met - validator will stop field validation on empty value
108
-        'checkers'        => [],   //Set of validation checker (to dedicate validation)
107
+        'emptyConditions' => [], //If met - validator will stop field validation on empty value
108
+        'checkers'        => [], //Set of validation checker (to dedicate validation)
109 109
         'aliases'         => []    //Set of validation rule aliases
110 110
     ];
111 111
 
Please login to merge, or discard this patch.
source/Spiral/Http/Routing/DirectRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
         $route = $this;
65 65
 
66
-        return function () use ($container, $route) {
66
+        return function() use ($container, $route) {
67 67
             list($controller, $action) = explode(self::SEPARATOR, $route->target);
68 68
 
69 69
             if ($action == self::DYNAMIC_ACTION) {
Please login to merge, or discard this patch.
source/Spiral/Database/Builders/Prototypes/AbstractSelect.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -343,15 +343,14 @@
 block discarded – undo
343 343
      */
344 344
     private function whereWrapper()
345 345
     {
346
-        return function ($parameter) {
346
+        return function($parameter) {
347 347
             if (!$parameter instanceof ParameterInterface && is_array($parameter)) {
348 348
                 //is_array condition can be removed (still check that parameter not instance of
349 349
                 // sqlfragment, in this case we can wrap every parameter using our object
350 350
                 $parameter = new Parameter($parameter);
351 351
             }
352 352
 
353
-            if
354
-            (
353
+            if (
355 354
                 $parameter instanceof SQLFragmentInterface
356 355
                 && !$parameter instanceof ParameterInterface
357 356
                 && !$parameter instanceof QueryBuilder
Please login to merge, or discard this patch.