Passed
Branch master (3f7373)
by Tõnis
04:31
created
src/traits/MyActiveTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      */
314 314
     private function lastClosingTime($tableName) {
315 315
         $cacheKey = "closing:time:{$tableName}";
316
-        return Yii::$app->cache->getOrSet($cacheKey, function () use ($tableName) {
316
+        return Yii::$app->cache->getOrSet($cacheKey, function() use ($tableName) {
317 317
             $dateHelper = new DateHelper();
318 318
 
319 319
             if (!$this->hasClosing($tableName)) {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     private function hasClosing($tableName)
336 336
     {
337 337
         $cacheKey = "closing:has:{$tableName}";
338
-        return Yii::$app->cache->getOrSet($cacheKey, function () use ($tableName) {
338
+        return Yii::$app->cache->getOrSet($cacheKey, function() use ($tableName) {
339 339
             $closing = Closing::findOne($tableName);
340 340
             return !($closing == null);
341 341
         });
Please login to merge, or discard this patch.
src/traits/ConsoleAwareTrait.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 /**
8 8
  * Class ConsoleAwareTrait
9 9
  * @package andmemasin\myabstract\traits
10
-
11 10
  * @property boolean $isConsole whether we currently run in console app or not
12 11
  *
13 12
  */
Please login to merge, or discard this patch.