Passed
Push — master ( ad0eb4...5eca78 )
by Oleg
04:10
created
Micro.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         if (!$this->loaded) {
139 139
             $this->initialize();
140 140
 
141
-            $this->addListener('kernel.kill', function () {
141
+            $this->addListener('kernel.kill', function() {
142 142
                 /** @var IRequest $request */
143 143
                 $request = $this->injector->get('request');
144 144
 
Please login to merge, or discard this patch.
mvc/models/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
                 if (self::$primaryKey) {
375 375
                     $where .= '`'.self::$primaryKey.'` = :'.self::$primaryKey;
376 376
                 } else {
377
-                    throw new Exception('In table ' . static::$tableName . ' option `' . self::$primaryKey . '` not defined/not use.'
377
+                    throw new Exception('In table '.static::$tableName.' option `'.self::$primaryKey.'` not defined/not use.'
378 378
                     );
379 379
                 }
380 380
             }
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
         }
419 419
         if ($this->beforeDelete()) {
420 420
             if (!self::$primaryKey) {
421
-                throw new Exception('In table ' . static::$tableName . ' option `' . self::$primaryKey . '` not defined/not use.');
421
+                throw new Exception('In table '.static::$tableName.' option `'.self::$primaryKey.'` not defined/not use.');
422 422
             }
423 423
 
424 424
             if (
Please login to merge, or discard this patch.
mvc/views/PhpView.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
         if ($this->layout && (!$layoutPath = $this->getLayoutFile((new Injector)->get('kernel')->getAppDir(),
92 92
                 $this->module))
93 93
         ) {
94
-            (new Injector)->get('logger')->send('error', 'Layout `' . $this->layout . '` not found');
94
+            (new Injector)->get('logger')->send('error', 'Layout `'.$this->layout.'` not found');
95 95
         }
96 96
 
97 97
         if ($layoutPath) {
Please login to merge, or discard this patch.