@@ -17,10 +17,10 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function testPermuting() |
| 19 | 19 | { |
| 20 | - $input = ['a', 'b',]; |
|
| 20 | + $input = ['a', 'b', ]; |
|
| 21 | 21 | $output = ArrayHelper::permute($input); |
| 22 | 22 | $this->assertCount(2, $output); |
| 23 | - $this->assertEquals(['a', 'b',], $output[0]); |
|
| 24 | - $this->assertEquals(['b', 'a',], $output[1]); |
|
| 23 | + $this->assertEquals(['a', 'b', ], $output[0]); |
|
| 24 | + $this->assertEquals(['b', 'a', ], $output[1]); |
|
| 25 | 25 | } |
| 26 | 26 | } |
| 27 | 27 | \ No newline at end of file |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | if (is_callable($this->load)) { |
| 152 | 152 | call_user_func($this->load, $record); |
| 153 | 153 | } elseif (!empty($this->attribute)) { |
| 154 | - $closure = function (ActiveRecord $value, string $attribute) { |
|
| 154 | + $closure = function(ActiveRecord $value, string $attribute) { |
|
| 155 | 155 | $this->{$attribute} = $value; |
| 156 | 156 | }; |
| 157 | 157 | $closure->call($this->owner, $record, $this->attribute); |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Horat1us\Yii\Database; |
| 4 | 4 | |
| 5 | 5 | use Horat1us\Yii\Interfaces\TransactionInterface; |
| 6 | - |
|
| 7 | 6 | use yii\db\Connection; |
| 8 | 7 | |
| 9 | 8 | /** |