@@ -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 |
@@ -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 | /** |
@@ -163,7 +163,7 @@ |
||
| 163 | 163 | return; |
| 164 | 164 | } |
| 165 | 165 | |
| 166 | - $closure = function (object $value, string $attribute) { |
|
| 166 | + $closure = function(object $value, string $attribute) { |
|
| 167 | 167 | $this->{$attribute} = $value; |
| 168 | 168 | }; |
| 169 | 169 | $closure->call($this->owner, $object, $this->attribute); |