Passed
Push — master ( 948ea5...fc7811 )
by Alexander
02:12
created
tests/Helpers/ArrayHelperTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Database/Transaction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Behaviors/LoaderBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.