@@ -332,7 +332,7 @@ |
||
| 332 | 332 | * @param string $tableName |
| 333 | 333 | * @return bool |
| 334 | 334 | */ |
| 335 | - private static function hasClosing($tableName){ |
|
| 335 | + private static function hasClosing($tableName) { |
|
| 336 | 336 | $closing = Closing::findOne($tableName); |
| 337 | 337 | return !($closing == null); |
| 338 | 338 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * @param $key string |
| 46 | 46 | * @return static |
| 47 | 47 | */ |
| 48 | - public function findOneByKey($key){ |
|
| 48 | + public function findOneByKey($key) { |
|
| 49 | 49 | /** @var static $model */ |
| 50 | 50 | $model = static::find() |
| 51 | 51 | ->andWhere([$this->keyColumn => $key]) |