@@ -138,7 +138,7 @@ |
||
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 |
@@ -374,7 +374,7 @@ discard block |
||
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 |
||
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 ( |
@@ -91,7 +91,7 @@ |
||
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) { |